diff --git a/Cargo.toml b/Cargo.toml index 08aa490..5961516 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [package] -name = "integral_site" +name = "ytbn_graphing_software" version = "0.1.0" edition = "2021" build = "build.rs" license = "AGPL-3.0" -repository = "https://github.com/Titaniumtown/integral_site" +repository = "https://github.com/Titaniumtown/YTBN-Graphing-Software" [lib] crate-type=["cdylib"] diff --git a/build.sh b/build.sh index 6419bc0..9843d19 100755 --- a/build.sh +++ b/build.sh @@ -8,16 +8,16 @@ cargo test #apply optimizations via wasm-opt wasm_opt() { - wasm-opt -Oz -o pkg/integral_site_bg_2.wasm pkg/integral_site_bg.wasm - mv pkg/integral_site_bg_2.wasm pkg/integral_site_bg.wasm + wasm-opt -Oz -o pkg/ytbn_graphing_software_bg_2.wasm pkg/ytbn_graphing_software_bg.wasm + mv pkg/ytbn_graphing_software_bg_2.wasm pkg/ytbn_graphing_software_bg.wasm } if test "$1" == "" || test "$1" == "release"; then wasm-pack build --target web --release --no-typescript - echo "Binary size (pre-wasm_opt): $(du -sb pkg/integral_site_bg.wasm)" + echo "Binary size (pre-wasm_opt): $(du -sb pkg/ytbn_graphing_software_bg.wasm)" wasm_opt #apply wasm optimizations - echo "Binary size (pre-strip): $(du -sb pkg/integral_site_bg.wasm)" - llvm-strip --strip-all pkg/integral_site_bg.wasm + echo "Binary size (pre-strip): $(du -sb pkg/ytbn_graphing_software_bg.wasm)" + llvm-strip --strip-all pkg/ytbn_graphing_software_bg.wasm elif test "$1" == "debug"; then wasm-pack build --target web --debug --no-typescript else @@ -26,8 +26,8 @@ else fi mkdir tmp -cp -r pkg/integral_site_bg.wasm pkg/integral_site.js tmp/ +cp -r pkg/ytbn_graphing_software_bg.wasm pkg/ytbn_graphing_software.js tmp/ cp www/index.html www/style.css tmp/ echo "Total size: $(du -sb tmp)" -echo "Binary size: $(du -sb tmp/integral_site_bg.wasm)" \ No newline at end of file +echo "Binary size: $(du -sb tmp/ytbn_graphing_software_bg.wasm)" \ No newline at end of file diff --git a/push.sh b/push.sh index 7fc650a..2d8df42 100755 --- a/push.sh +++ b/push.sh @@ -5,9 +5,9 @@ bash build.sh echo "rsyncing" rsync -av --delete --info=progress2 tmp/ rpi-public:/mnt/hdd/http_share/integral-demo/ -rsync -av --delete --info=progress2 --exclude=".git" tmp/ ../integral-demo/ +rsync -av --delete --info=progress2 --exclude=".git" tmp/ ../titaniumtown.github.io/ rm -fr tmp -cd ../integral-demo +cd ../titaniumtown.github.io git add . git commit -m "update" git push \ No newline at end of file diff --git a/src/egui_app.rs b/src/egui_app.rs index fc68393..e85bffc 100644 --- a/src/egui_app.rs +++ b/src/egui_app.rs @@ -84,7 +84,7 @@ const HELP_OTHER: &str = const LICENSE_INFO: &str = "The AGPL license ensures that the end user, even if not hosting the program itself, is still guaranteed access to the source code of the project in question."; // The URL of the project -const PROJECT_URL: &str = "https://github.com/Titaniumtown/integral_site"; +const PROJECT_URL: &str = "https://github.com/Titaniumtown/YTBN_graphing_software"; // Stores settings struct AppSettings { @@ -304,7 +304,7 @@ impl MathApp { impl epi::App for MathApp { // The name of the program (displayed when running natively as the window title) - fn name(&self) -> &str { "Integral Demonstration" } + fn name(&self) -> &str { "(Yet-to-be-named) Graphing Software" } // Called once before the first frame. fn setup(&mut self, _ctx: &Context, _frame: &Frame, _storage: Option<&dyn Storage>) {} diff --git a/www/index.html b/www/index.html index 1a56c59..28e2f92 100644 --- a/www/index.html +++ b/www/index.html @@ -5,7 +5,7 @@ - Integral Demonstration + (Yet-to-be-named) Graphing Software