Skip to content

Commit 10e5aee

Browse files
committed
Add package.sh theming disabled
1 parent b320002 commit 10e5aee

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

package.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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/*

0 commit comments

Comments
 (0)