Build installers for your Flutter applications with Squirrel

Overview

squirrel

A new Flutter package project.

Getting Started

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

You might also like...

Build different UIs for Android, iOS, Web, Desktop, Wear, TV etc without the if/else checks in your widgets.

Build different UIs for Android, iOS, Web, Desktop, Wear, TV etc without the if/else checks in your widgets.

platform_widget_mixin Plugin to decouple widgets based on various platform properties. Features Build different UIs for Android, iOS, Web, Desktop, We

Nov 17, 2022

This is a repository for Flutter Focused Menu, an easy to implement package for adding Focused Long Press Menu to Flutter Applications

This is a repository for Flutter Focused Menu, an easy to implement package for adding Focused Long Press Menu to Flutter Applications

Focused Menu This is an easy to implement package for adding Focused Long Press Menu to Flutter Applications Current Features Add Focused Menu to Any

Dec 26, 2022

Flutter micro app - A package to speed up the creation of micro frontend(or independent features) structure in Flutter applications

Flutter micro app - A package to speed up the creation of micro frontend(or independent features) structure in Flutter applications

A package to speed up the creation of micro frontend(or independent features) st

Dec 22, 2022

CloseSea-Flutter - CloseSea is Flutter UI of OpenSea NFT's Applications

CloseSea-Flutter - CloseSea is Flutter UI of OpenSea NFT's Applications

flutter_closesea_nft Onboarding Page Home Page Font use in this App Concept : (f

Aug 31, 2022

Now UI Flutter is a fully coded app template built for Flutter which will allow you to create powerful and beautiful e-commerce mobile applications

Now UI Flutter is a fully coded app template built for Flutter which will allow you to create powerful and beautiful e-commerce mobile applications

Now UI Flutter is a fully coded app template built for Flutter which will allow you to create powerful and beautiful e-commerce mobile applications. We have redesigned all the usual components to make it look like our Now UI Design, minimalistic and easy to use.

Oct 9, 2022

This is tool to create 3D Models which can be used in Flutter Applications. Tool is developed completely using Flutter.

three_d_model_tool A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you start

Nov 8, 2022

A comprehensive guide on learning how to code cross platform mobile applications with the Flutter framework, from the ground up.

A comprehensive guide on learning how to code cross platform mobile applications with the Flutter framework, from the ground up.

✳️ The Ultimate Guide to App Development with Flutter ✳️ A complete and comprehensive guide to learning Flutter with explanations, screenshots, tips,

Jan 1, 2023

Flutter starter template for production applications with a REST backend

Flutter starter template for production applications with a REST backend

Flutter Boilerplate My Flutter starter template for production applications with a REST backend. The main aim of this template is to get you up and ru

Apr 13, 2022
Comments
  • Error when running on Flutter 2.10.3

    Error when running on Flutter 2.10.3

    Running flutter pub run squirrel:installer_windows on 2.2.3 was successful. But after update to Flutter 2.10.3 it results to an error:

    Unhandled exception:
    FileSystemException: Cannot open file, path = 'c:\users\public\my_project\.dart_tool\pub\bin\nuspec.jinja' (OS Error: No such file or directory, errno = 2)
    #0      _File.open.<anonymous closure> (dart:io/file_impl.dart:356:9)
    <asynchronous suspension>
    #1      main (file:///C:/Users/MyUser/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/squirrel-0.1.0/bin/installer_windows.dart:210:7)
    <asynchronous suspension>
    pub finished with exit code 255
    

    Seems that the installer_windows.dart script is running from the folder other than expected.

    @anaisbetts Any thoughts on the fix?

    opened by RustamG 3
  • Unhandled exception when running without releaseUrl

    Unhandled exception when running without releaseUrl

    I'm getting an error when release URL is not specified (neither in pubspec nor via env SQUIRREL_RELEASE_URL). Here is an example of pubspec.yaml section of

    #.....
    squirrel:
      windows:
        appFriendlyName: "Test App"
        appDescription: "Test App main application."
        appIcon: "windows/runner/resources/app_icon.ico"
        releaseDirectory: "ReleaseDir"
    

    Error

    Unhandled exception:
    Exception: Failed to run c:\users\rustamg\appdata\local\pub\cache\hosted\pub.dartlang.org\squirrel-0.1.0\vendor\SyncReleases.exe -r c:\users\rustamg\test\test_squirrel\ReleaseDir -u c:\use
    rs\rustamg\test\test_squirrel\null
    Usage: SyncReleases.exe command [OPTS]
    Builds a Releases directory from releases on GitHub
    
    Options:
      -h, -?, --help             Display Help and exit
      -r, --releaseDir=VALUE     Path to a release directory to download to
      -u, --url=VALUE            When pointing to GitHub, use the URL to the
                                   repository root page, else point to an existing
                                   remote Releases folder
      -t, --token=VALUE          The OAuth token to use as login credentials
    
    
    #0      runUtil (file:///C:/Users/RustamG/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/squirrel-0.1.0/bin/installer_windows.dart:200:5)
    <asynchronous suspension>
    #1      main (file:///C:/Users/RustamG/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/squirrel-0.1.0/bin/installer_windows.dart:291:5)
    <asynchronous suspension>
    pub finished with exit code 255
    

    The issue seems to be here: https://github.com/anaisbetts/squirrel-flutter/blob/2979ed912f28b4b8b273db4ac19779868a9a9b2e/bin/installer_windows.dart#L163-L165

    ? should be placed before .toString(). Otherwise null becomes a string with a value "null".

    opened by RustamG 3
  • Not working when the app has custom .exe name

    Not working when the app has custom .exe name

    Hello.

    I want the app .exe file name to be different depending on the environment I build it for (i.e. "App_QA" or "App_DEV", etc.). So I can have multiple apps installed at the same time, pointing to different servers. This can be accomplished by changing the BINARY_NAME in CMakeLists.txt (official manual).

    Currently, installer_windows.dart uses name from pubspec.yaml to find the .exe file for changing the icon and render it to nuspec template: https://github.com/anaisbetts/squirrel-flutter/blob/master/bin/installer_windows.dart#L137-L140 https://github.com/anaisbetts/squirrel-flutter/blob/master/bin/installer_windows.dart#L228-L232 https://github.com/anaisbetts/squirrel-flutter/blob/master/bin/installer_windows.dart#L241-L250

    So if I change the .exe name, the script doesn't find it:

    Unhandled exception:
    Exception: Failed to run C:\Users\circleci\AppData\Local\Pub\Cache\git\squirrel-flutter-1fe5861f10d9828411b766b2f7845888a7ac377a\lib\..\vendor\rcedit.exe --set-icon c:\users\circleci\project\app\windows\runner\resources\app_icon.ico c:\users\circleci\project\app\build\windows\runner\Release\app.exe
    
    Fatal error: Unable to load file
    
    #0      runUtil (file:///C:/Users/circleci/AppData/Local/Pub/Cache/git/squirrel-flutter-1fe5861f10d9828411b766b2f7845888a7ac377a/bin/installer_windows.dart:210:5)
    <asynchronous suspension>
    #1      main (file:///C:/Users/circleci/AppData/Local/Pub/Cache/git/squirrel-flutter-1fe5861f10d9828411b766b2f7845888a7ac377a/bin/installer_windows.dart:239:3)
    <asynchronous suspension>
    pub finished with exit code 255
    
    Exited with code exit status 255
    

    The best solution for me would be able to pass the arguments to the script via command line.

    opened by RustamG 0
  • cannot run flutter pub run squirrel:installer_windows

    cannot run flutter pub run squirrel:installer_windows

    Unhandled exception:
    NoSuchMethodError: The method '[]' was called on null.
    Receiver: null
    Tried calling: []("windows")
    #0      Object.noSuchMethod (dart:core-patch/object_patch.dart:63:5)
    #1      new PubspecParams.fromYaml (file:///C:/Users/diqdq/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/squirrel-0.1.0/bin/installer_windows.dart:131:52)
    #2      main (file:///C:/Users/diqdq/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/squirrel-0.1.0/bin/installer_windows.dart:212:33)
    
    opened by aditdiqdpratama 2
Owner
Anaïs Betts
Margot Tenenbaum as software developer.
Anaïs Betts
Another way to build Flutter applications for mobile, web and desktop using the powerful of MVC Design Pattern.

Karee Another way to build Flutter applications for mobile, web and desktop using the powerful of MVC Design Pattern. + = About Karee Karee is a frame

@LeCode 44 Sep 29, 2022
This is an easy to use Flutter Package for adding Fancy Foldable Sidebar to your Flutter Applications.

Foldable Sidebar An easy to implement Foldable Sidebar Navigation Drawer for Flutter Applications. Current Features Initial Release for Foldable Navig

Paras Jain 87 Nov 26, 2022
A CLI to help with using FlutterFire in your Flutter applications.

FlutterFire CLI Documentation • License A CLI to help with using FlutterFire in your Flutter applications. Local development setup To setup and use th

Invertase 100 Dec 12, 2022
The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications

See the project's website for the full documentation. Floor provides a neat SQLite abstraction for your Flutter applications inspired by the Room pers

Vitus 786 Dec 28, 2022
Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.

Official Flutter packages for Stream Chat Quick Links Register to get an API key for Stream Chat Flutter Chat SDK Tutorial Chat UI Kit Sample apps Thi

Stream 659 Dec 25, 2022
Quickly is build as a tool to enhance your Flutter UI development experience and make code easier

Quickly is build as a tool to enhance your Flutter UI development experience and make code easier. It is highly inspired by Bootstrap and Tailwind CSS. It also provide lots of extension methods on String, List and Map.

Aniket Khote 11 Oct 24, 2022
Provide powerfull tools to help you build your Flutter design system.

Provide powerfull tools to help you build your design system. About flutter_design contains packages to help you bootstrap your design system with a w

Min Zhao 23 Dec 3, 2022
Easily build and deploy your Dart web app to GitHub pages

Run flutter build web or dart pub run build_runner build and put the output in another branch. An easy way to update gh-pages. Install $ dart pub glob

Kevin Moore 183 Dec 20, 2022
Build context - Access most used properties in your BuildContext instance.

Languages: English | Brazilian Portuguse BuildContext Access most used properties in your BuildContext instance. This package relies on Dart's extensi

Pedro Massango 132 Dec 11, 2022
Call Kit is a prebuilt feature-rich call component, which enables you to build one-on-one and group voice/video calls into your app with only a few lines of code.

Call Kit (ZegoUIKitPrebuiltCall) Call Kit is a prebuilt feature-rich call component, which enables you to build one-on-one and group voice/video calls

ZEGOCLOUD 9 Dec 26, 2022