summary history branches tags files
commit:b7b42c4c6bad737bd9cb4cfab2349ea710fe2498
author:Trevor Bentley
committer:Trevor Bentley
date:Sat Jul 29 22:48:27 2017 +0200
parents:c7a4935590197beadb8384fb13313404ffaf3c2e
Create app bundle in relative target/ directory
diff --git a/Cargo.lock b/Cargo.lock
line changes: +3/-3
index bbebad0..c9ac9ba
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2,7 +2,7 @@
 name = "toucHNews"
 version = "0.2.2-rc"
 dependencies = [
- "fruitbasket 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "fruitbasket 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
  "hn 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
  "open 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -184,7 +184,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 
 [[package]]
 name = "fruitbasket"
-version = "0.3.1"
+version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 dependencies = [
  "log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -978,7 +978,7 @@ dependencies = [
 "checksum flate2 0.2.19 (registry+https://github.com/rust-lang/crates.io-index)" = "36df0166e856739905cd3d7e0b210fe818592211a008862599845e012d8d304c"
 "checksum fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6cc484842f1e2884faf56f529f960cc12ad8c71ce96cc7abba0a067c98fee344"
 "checksum foreign-types 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3e4056b9bd47f8ac5ba12be771f77a0dae796d1bbaaf5fd0b9c2d38b69b8a29d"
-"checksum fruitbasket 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2b23742799c92dcf9b46dc1ba26aa674b027a1851ae03f31897e76c2c8aa8195"
+"checksum fruitbasket 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "45b4ec6423753303cbe363aa4d6004b3f50e93e529851569aee09fc0f705387f"
 "checksum futures 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "4b63a4792d4f8f686defe3b39b92127fea6344de5d38202b2ee5a11bbbf29d6a"
 "checksum futures-cpupool 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "a283c84501e92cade5ea673a2a7ca44f71f209ccdd302a3e0896f50083d2c5ff"
 "checksum gcc 0.3.51 (registry+https://github.com/rust-lang/crates.io-index)" = "120d07f202dcc3f72859422563522b66fe6463a4c513df062874daad05f85f0a"

diff --git a/Cargo.toml b/Cargo.toml
line changes: +0/-1
index 5799a96..f614488
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -25,7 +25,6 @@ log = {version = "0.3", optional = true }
 
 [dependencies.fruitbasket]
 version = "0.3"
-#path = "../fruitbasket"
 features = ["logging"]
 
 [package.metadata.release]

diff --git a/src/main.rs b/src/main.rs
line changes: +1/-1
index 0c67346..ce72c29
--- a/src/main.rs
+++ b/src/main.rs
@@ -161,7 +161,7 @@ fn main() {
         .version(env!("CARGO_PKG_VERSION"))
         .plist_key("LSBackgroundOnly", "1")
         .resource(icon.to_str().unwrap())
-        .build(fruitbasket::InstallDir::Temp).unwrap();
+        .build(fruitbasket::InstallDir::Custom("target/".to_string())).unwrap();
     nsapp.set_activation_policy(fruitbasket::ActivationPolicy::Prohibited);
     #[cfg(feature = "log")]
     info!("Launched toucHNews!");