✨ Setup windows installer
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -12,6 +12,9 @@
|
||||
.swiftpm/
|
||||
migrate_working_dir/
|
||||
|
||||
# Inno Setup
|
||||
Installer/
|
||||
|
||||
# IntelliJ related
|
||||
*.iml
|
||||
*.ipr
|
||||
|
@@ -62,6 +62,8 @@ void main() async {
|
||||
FirebaseMessaging.onBackgroundMessage(
|
||||
_firebaseMessagingBackgroundHandler,
|
||||
);
|
||||
// Although previous if case checked this. Still check is web or not
|
||||
// Otherwise the web platform will broke due to there is no Platform api on the web
|
||||
if (kIsWeb || !Platform.isWindows) {
|
||||
FlutterError.onError =
|
||||
FirebaseCrashlytics.instance.recordFlutterFatalError;
|
||||
|
@@ -227,3 +227,11 @@ flutter_native_splash:
|
||||
image_dark: "assets/icons/icon-dark.png"
|
||||
color: "#ffffff"
|
||||
color_dark: "#121212"
|
||||
|
||||
msix_config:
|
||||
display_name: Solian
|
||||
publisher_display_name: Solsynth LLC
|
||||
identity_name: dev.solian.app
|
||||
msix_version: 3.2.0.0
|
||||
logo_path: .\assets\icons\icon.png
|
||||
capabilities: internetClientServer, location, microphone, webcam
|
19
setup.iss
Normal file
19
setup.iss
Normal file
@@ -0,0 +1,19 @@
|
||||
[Setup]
|
||||
AppName=Solian
|
||||
AppVersion=3.2.0
|
||||
DefaultDirName={pf}\Solian
|
||||
DefaultGroupName=Solian
|
||||
OutputDir=C:\Development\Solian\Installer
|
||||
OutputBaseFilename=Solian
|
||||
Compression=lzma
|
||||
SolidCompression=yes
|
||||
|
||||
[Files]
|
||||
Source: "C:\Development\Solian\build\windows\x64\runner\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
|
||||
[Icons]
|
||||
Name: "{group}\Solian"; Filename: "{app}\Solian.exe"
|
||||
Name: "{group}\Uninstall Solian"; Filename: "{uninstallexe}"
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\Solian.exe"; Description: "Launch Solian"; Flags: nowait postinstall skipifsilent
|
Reference in New Issue
Block a user