diff --git a/Cargo.lock b/Cargo.lock index 12c7769..0c45c2c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3418,6 +3418,20 @@ version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49d64318d8311fc2668e48b63969f4343e0a85c4a109aa8460d6672e364b8bd1" +[[package]] +name = "twinc_emu_vst" +version = "0.4.0" +dependencies = [ + "async-ringbuf", + "baseview", + "futures", + "gb-emu-lib", + "keyboard-types", + "nih_plug", + "raw-window-handle", + "serde", +] + [[package]] name = "ultraviolet" version = "0.9.2" @@ -3496,20 +3510,6 @@ version = "0.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9dcc60c0624df774c82a0ef104151231d37da4962957d691c011c852b2473314" -[[package]] -name = "vst" -version = "0.4.0" -dependencies = [ - "async-ringbuf", - "baseview", - "futures", - "gb-emu-lib", - "keyboard-types", - "nih_plug", - "raw-window-handle", - "serde", -] - [[package]] name = "vst3-com" version = "0.1.0" diff --git a/gb-vst/Cargo.toml b/gb-vst/Cargo.toml index d93f649..04efc0a 100644 --- a/gb-vst/Cargo.toml +++ b/gb-vst/Cargo.toml @@ -1,14 +1,13 @@ [package] -name = "vst" +name = "twinc_emu_vst" version = "0.4.0" edition = "2021" [lib] -name = "vst" crate-type = ["cdylib", "rlib"] [features] -default = ["vulkan-static"] +default = ["vulkan"] pixels = ["gb-emu-lib/pixels-renderer"] vulkan = ["dep:raw-window-handle", "gb-emu-lib/vulkan-renderer"] vulkan-static = ["vulkan", "gb-emu-lib/vulkan-static"] diff --git a/gb-vst/src/main.rs b/gb-vst/src/main.rs index a11a3d8..4a3e5b4 100644 --- a/gb-vst/src/main.rs +++ b/gb-vst/src/main.rs @@ -1,6 +1,6 @@ use nih_plug::prelude::*; -use vst::GameboyEmu; +use twinc_emu_vst::GameboyEmu; fn main() { nih_export_standalone::(); diff --git a/scripts/dev_vst_install.sh b/scripts/dev_vst_install.sh index 1278a8f..381d3e0 100755 --- a/scripts/dev_vst_install.sh +++ b/scripts/dev_vst_install.sh @@ -1,6 +1,6 @@ -cargo xtask bundle-universal vst && - python scripts/patch.py target/bundled/vst.vst3 && - python scripts/patch.py target/bundled/vst.app && - rm -r $VST3_DEV_INSTALL/gb.vst3 && - cp -r target/bundled/vst.vst3 $VST3_DEV_INSTALL/gb.vst3 && - echo "Copied to $VST3_DEV_INSTALL/gb.vst3" +cargo xtask bundle-universal twinc_emu_vst && + python scripts/patch.py target/bundled/twinc_emu_vst.vst3 && + python scripts/patch.py target/bundled/twinc_emu_vst.app && + rm -rf $VST3_DEV_INSTALL/twinc_emu_vst.vst3 && + cp -r target/bundled/twinc_emu_vst.vst3 $VST3_DEV_INSTALL/twinc_emu_vst.vst3 && + echo "Copied to $VST3_DEV_INSTALL/twinc_emu_vst.vst3" diff --git a/scripts/vst_install.sh b/scripts/vst_install.sh index f6b8665..6a9f210 100755 --- a/scripts/vst_install.sh +++ b/scripts/vst_install.sh @@ -1,6 +1,6 @@ -cargo xtask bundle-universal vst --release && - python scripts/patch.py target/bundled/vst.vst3 && - python scripts/patch.py target/bundled/vst.app && - rm -r $VST3_DEV_INSTALL/gb.vst3 && - cp -r target/bundled/vst.vst3 $VST3_DEV_INSTALL/gb.vst3 && - echo "Copied to $VST3_DEV_INSTALL/gb.vst3" +cargo xtask bundle-universal twinc_emu_vst --release && + python scripts/patch.py target/bundled/twinc_emu_vst.vst3 && + python scripts/patch.py target/bundled/twinc_emu_vst.app && + rm -rf $VST3_DEV_INSTALL/twinc_emu_vst.vst3 && + cp -r target/bundled/twinc_emu_vst.vst3 $VST3_DEV_INSTALL/twinc_emu_vst.vst3 && + echo "Copied to $VST3_DEV_INSTALL/twinc_emu_vst.vst3"