File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ source ~ /.cargo/env
4
+ cargo build --target=i686-pc-windows-gnu --release
5
+
6
+ mkdir package
7
+ cp target/i686-pc-windows-gnu/release/* .exe package
8
+
9
+ export DLLS=` peldd package/* .exe -t --ignore-errors`
10
+ for DLL in $DLLS
11
+ do cp " $DLL " package
12
+ done
13
+
14
+ mkdir -p package/share/{themes,gtk-3.0}
15
+ cp -r $GTK_INSTALL_PATH /share/glib-2.0/schemas package/share/glib-2.0
16
+ cp -r $GTK_INSTALL_PATH /share/icons package/share/icons
17
+ # cp -r ~/Windows10 package/share/themes
18
+
19
+ cat << EOF > package/share/gtk-3.0/settings.ini
20
+ [Settings]
21
+ gtk-theme-name = Windows10
22
+ gtk-font-name = Segoe UI 10
23
+ gtk-xft-rgba = rgb
24
+ gtk-xft-antialias = 1
25
+ EOF
26
+
27
+ mingw-strip package/*
28
+
29
+ zip -r package.zip package/*
You can’t perform that action at this time.
0 commit comments