Compare commits

..

No commits in common. "fd512f0f8c040ea634d917203704d7257f229c92" and "3428fd76fa70c7da86bb1fb8096b336355e2ce82" have entirely different histories.

1 changed files with 11 additions and 4 deletions

View File

@ -1,14 +1,12 @@
#!/bin/bash #!/bin/bash
source /home/rust/.cargo/env source ~/.cargo/env
cargo build --target=x86_64-pc-windows-gnu --release cargo build --target=x86_64-pc-windows-gnu --release
mkdir package mkdir package
cp target/x86_64-pc-windows-gnu/release/*.exe package cp target/x86_64-pc-windows-gnu/release/*.exe package
DLLS=$(peldd package/*.exe -t --ignore-errors) export DLLS=`peldd package/*.exe -t --ignore-errors`
export DLLS
for DLL in $DLLS for DLL in $DLLS
do cp "$DLL" package do cp "$DLL" package
done done
@ -16,6 +14,15 @@ done
mkdir -p package/share/{themes,gtk-3.0} 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/glib-2.0/schemas package/share/glib-2.0
cp -r "$GTK_INSTALL_PATH"/share/icons package/share/icons 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
gtk-xft-antialias = 1
EOF
mingw-strip package/* mingw-strip package/*