first commit

This commit is contained in:
etrombly
2018-01-09 21:43:20 -06:00
commit 34a1149f38
620 changed files with 43385 additions and 0 deletions

28
package.sh Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/bash
source ~/.cargo/env
cargo build --target=x86_64-pc-windows-gnu --release
mkdir package
cp target/x86_64-pc-windows-gnu/release/*.exe package
export DLLS=`peldd package/*.exe -t --ignore-errors`
for DLL in $DLLS
do cp "$GTK_INSTALL_PATH/bin/$DLL" package
done
mkdir -p package/share/{themes,gtk-3.0}
cp -r $GTK_INSTALL_PATH/share/glib-2.0/schemas package/share/glib-2.0
cp -r $GTK_INSTALL_PATH/share/icons package/share/icons
cp -r ~/Windows10 package/share/themes
cat << EOF > package/share/gtk-3.0/settings.ini
[Settings]
gtk-theme-name = Windows10
gtk-font-name = Segoe UI 10
gtk-xft-rgba = rgb
EOF
mingw-strip package/*
zip -r package.zip package/*