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...

A tool for debugging your Flutter apps.

A tool for debugging your Flutter apps.

anyinspect_app A tool for debugging your Flutter apps. Platform Support Linux macOS Windows βž– βœ”οΈ βž– Installation Downloads are available on the Release

Nov 11, 2022

A material theme editor and generator for Flutter to configure and preview the overall visual theme of your material app

A material theme editor and generator for Flutter to configure and preview the overall visual theme of your material app

A material theme editor and generator for Flutter to configure and preview the overall visual theme of your material app

Jan 3, 2023

An app to monitor linux PC stats directly from your phone.

An app to monitor linux PC stats directly from your phone.

L I N U X M O N An app to monitor linux PC stats such as CPU, Battery, RAM etc. on your phone. Installation Install the server on your PC LINUX Downlo

Dec 21, 2022

A universal clipboard for all your devices.

A universal clipboard for all your devices.

πŸ“‹ ClipIo A Universal clipboard for all your devices! It's often difficult to move some data from one device to another especially when we have to mov

Sep 30, 2021

Flutter Installer is an installer for Flutter built with Flutter πŸ’™πŸ˜ŽβœŒ

Flutter Installer is an installer for Flutter built with Flutter πŸ’™πŸ˜ŽβœŒ

Flutter Installer Flutter Installer is an installer for Flutter built with Flutter πŸ’™ 😎 ✌ Flutter and the related logo are trademarks of Google LLC.

Dec 27, 2022

Flutter plugin for Flutter desktop(macOS/Linux/Windows) to change window size.

desktop_window Flutter plugin for Flutter desktop(macOS/Linux/Windows) to change window size. Usage import 'package:desktop_window/desktop_window.dart

Dec 2, 2022

Fluttern is a web app made with Flutter to list Flutter internships/jobs for the community.

Fluttern Fluttern is a web app made with Flutter to list Flutter internships/jobs for the community. It uses Google Sheet as a backend, simplifying th

Jan 5, 2022

Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.

Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.

go-flutter - A package that brings Flutter to the desktop Purpose Flutter allows you to build beautiful native apps on iOS and Android from a single c

Jan 6, 2023

A clean front-end plugin to Volumio, the Linux distribution for music playback. Volumio Touch Display Lite is written in Flutter and runs on flutter-pi.

A clean front-end plugin to Volumio, the Linux distribution for music playback. Volumio Touch Display Lite is written in Flutter and runs on flutter-pi.

EN | δΈ­ζ–‡ Touch Display Lite plugin for Volumio 3 Feng Zhou, 2021-12 Touch Display Lite is a clean and fast user interface for Volumio 3, the Linux dist

Jul 26, 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
Ani Betts
Margot Tenenbaum as software developer.
Ani Betts
A web dashboard that allows you to monitor your Chia farm and sends notifications when blocks are found and new plots are completed through a discord bot. It can link multiple farmers/harvesters to your account.

farmr A web dashboard that allows you to monitor your Chia farm and sends notifications when blocks are found and new plots are completed through a di

Gil Nobrega 261 Nov 10, 2022
Create Msix installer for flutter windows-build files.

Msix A command-line tool that create Msix installer for your flutter windows-build files. ?? Install In your pubspec.yaml, add msix as a new dependenc

Yehuda Kremer 191 Dec 30, 2022
Build beautiful desktop apps with flutter and rust. 🌠 (wip)

flutter-rs Build flutter desktop app in dart & rust. Get Started Install requirements Rust flutter sdk Develop install the cargo flutter command cargo

null 2k Dec 26, 2022
Build beautiful desktop apps with flutter and rust. 🌠

flutter-rs Build flutter desktop app in dart & rust. Get Started Install requirements Rust flutter sdk Develop install the cargo flutter command cargo

null 2k Dec 26, 2022
Build Win32 apps with Dart!

A package that wraps some of the most common Win32 API calls using FFI to make them accessible to Dart code without requiring a C compiler or the Wind

Tim Sneath 609 Jan 2, 2023
It is too hard to build coherent and accessible themes with the right colors. This should help.

Color Studio It is hard to choose colors. Most color pickers give you 16 million colors and ask you to pick one. So many options, in fact, that your c

Bernardo Ferrari 372 Dec 22, 2022
A Flutter package that makes it easy to customize and work with your Flutter desktop app window.

bitsdojo_window A Flutter package that makes it easy to customize and work with your Flutter desktop app window on Windows, macOS and Linux. Watch the

Bits Dojo 607 Jan 4, 2023
A Flutter package that makes it easy to customize and work with your Flutter desktop app's system tray.

system_tray A Flutter package that that enables support for system tray menu for desktop flutter apps. on Windows, macOS and Linux. Features: - Modify

AnTler 140 Dec 30, 2022
A flutter application to monitor your Linux PC statistic.

Linux Stats App A flutter application to monitor your Linux PC statistic. Screenshots Installation Download or clone the repository: $ git clone https

Malte2036 7 Dec 17, 2022
A simple flutter input widget to add @ mentions functionality to your app

?? Flutter Mentions A simple flutter input widget to add @ mentions functionality to your app Install ?? To use this package, add flutter_mentions as

Fayeed Pawaskar 95 Nov 4, 2022