Compare commits
2 Commits
908ca1d769
...
c9a5eada5e
Author | SHA1 | Date |
---|---|---|
Max Bradbury | c9a5eada5e | |
Max Bradbury | ca779f8839 |
|
@ -1,4 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
rm -rf dist/windows
|
||||||
|
mv package dist/windows
|
||||||
|
|
||||||
butler push dist/linux ruin/lull:linux
|
butler push dist/linux ruin/lull:linux
|
||||||
|
butler push dist/windows ruin/lull:windows
|
||||||
butler push dist/sounds ruin/lull:sounds
|
butler push dist/sounds ruin/lull:sounds
|
||||||
|
|
|
@ -234,9 +234,11 @@ fn build_ui(application: >k::Application) {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
#[cfg(target_os = "windows")] {
|
||||||
// instantiate rodio before gtk and don't do anything with it
|
// instantiate rodio before gtk and don't do anything with it
|
||||||
// this is silly but it's the easiest way to prevent cpal crashing on windows
|
// this is silly but it's the easiest way to prevent cpal crashing on windows
|
||||||
rodio::default_output_device().unwrap();
|
rodio::default_output_device().unwrap();
|
||||||
|
}
|
||||||
|
|
||||||
let application = gtk::Application::new(
|
let application = gtk::Application::new(
|
||||||
Some("dev.tinybird.max.lull"),
|
Some("dev.tinybird.max.lull"),
|
||||||
|
|
10
windows.sh
10
windows.sh
|
@ -4,3 +4,13 @@ export PKG_CONFIG_ALLOW_CROSS=1
|
||||||
export PKG_CONFIG_PATH=/usr/i686-w64-mingw32/lib/pkgconfig
|
export PKG_CONFIG_PATH=/usr/i686-w64-mingw32/lib/pkgconfig
|
||||||
rm -rf package
|
rm -rf package
|
||||||
docker start lull-build-3 -ai | less
|
docker start lull-build-3 -ai | less
|
||||||
|
|
||||||
|
# gtk icons to keep:
|
||||||
|
# Adwaita/16x16/ui/window-*
|
||||||
|
# Adwaita/24x24/ui/window-*
|
||||||
|
# Adwaita/48x48/ui/window-*
|
||||||
|
# Adwaita/64x64/ui/window-*
|
||||||
|
# Adwaita/96x96/ui/window-*
|
||||||
|
# Adwaita/scalable/ui/window-*
|
||||||
|
# Adwaita/cursors
|
||||||
|
# (are all of these sizes necessary?)
|
||||||
|
|
Loading…
Reference in New Issue