-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_setup.dart
32 lines (30 loc) · 903 Bytes
/
build_setup.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import 'dart:io';
import 'package:innosetup/innosetup.dart';
import 'package:version/version.dart';
void main() {
InnoSetup(
app: InnoSetupApp(
name: 'Math Scanner',
executable: 'math_scan.exe',
version: Version.parse('0.0.4'),
publisher: 'Ekrem Bayram',
urls: InnoSetupAppUrls(
homeUrl: Uri.parse('https://github.com/ekrem-qb/math_scan'),
),
),
files: InnoSetupFiles(
executable: File('build/windows/x64/runner/Release/math_scan.exe'),
location: Directory('build/windows/x64/runner/Release'),
),
name: const InnoSetupName('Math_Scanner'),
location: InnoSetupInstallerDirectory(
Directory('build/windows/x64'),
),
icon: InnoSetupIcon(
File('windows/runner/resources/app_icon.ico'),
),
compression: InnoSetupCompressions().lzma2(
InnoSetupCompressionLevel.ultra64,
),
).make();
}