diff --git a/cli/commands/build/android.dart b/cli/commands/build/android.dart index e41761be..800522b8 100644 --- a/cli/commands/build/android.dart +++ b/cli/commands/build/android.dart @@ -82,7 +82,7 @@ class AndroidBuildCommand extends Command with BuildCommandCommonSteps { ); await ogAppbundleFile.copy( - join(cwd.path, "dist", "Spotube-playstore-all-arch.aab"), + join(cwd.path, "build", "Spotube-playstore-all-arch.aab"), ); stdout.writeln("✅ Built Android Apk and Appbundle"); diff --git a/cli/commands/build/windows.dart b/cli/commands/build/windows.dart index e675ff26..c44a6074 100644 --- a/cli/commands/build/windows.dart +++ b/cli/commands/build/windows.dart @@ -12,17 +12,11 @@ class WindowsBuildCommand extends Command with BuildCommandCommonSteps { @override String get name => "windows"; - Future innoInstall() async { - final innoInstallerPath = join(cwd.path, "build", "installer.exe"); - const innoVersion = "6.2.0"; + Future innoDependInstall() async { final innoDependencyPath = join(cwd.path, "build", "inno-depend"); await shell.run( - """ - curl -o $innoInstallerPath http://files.jrsoftware.org/is/6/innosetup-$innoVersion.exe - git clone https://github.com/DomGries/InnoDependencyInstaller.git $innoDependencyPath - $innoInstallerPath /verysilent /allusers /dir=build\\iscc - """, + "git clone https://github.com/DomGries/InnoDependencyInstaller.git $innoDependencyPath", ); } @@ -45,7 +39,7 @@ class WindowsBuildCommand extends Command with BuildCommandCommonSteps { } await bootstrap(); - // await innoInstall(); + await innoDependInstall(); await shell.run( "flutter_distributor package --platform=windows --targets=exe --skip-clean",