Commit Graph

26 Commits

Author SHA1 Message Date
renovate[bot]
793b002344
chore(deps) Update Rust crate handlebars to v3 (#360)
* chore(deps) Update Rust crate handlebars to v3

* fix handlebars 'static lifetime.

* fix static lifetime for mac and linux.

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-01-30 05:47:00 -06:00
renovate[bot]
ee0204c8b7
chore(deps) Update Rust crate attohttpc to 0.11.1 (#357)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 02:21:06 -05:00
Lucas Fernandes Nogueira
b7a6bc0f42 feat(bundler&tauri) add wix resource bundling and utils to get the path to the platform resource dir (#352)
* feat(bundler) copy resources to the out dir

* feat(utils) add resource_dir fn

* feat(examples) spawn node with resource JS instead of pkg bin

* feat(bundler) WIP on windows resource bundler

* feat(utils) add windows, macos resource_dir logic

* fix(bundler) resource folder iteration on wix

* chore(bundler) add comments to generate_resource_data fn

* chore(bundler) add comments to the get_wix_data fn

* change minor items.

* run `cargo fmt`

* run `rust fmt` and `clippy` and add fmt.toml

* remove unnessecary rustfmt.toml files.

Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
2020-01-26 19:57:09 -05:00
renovate[bot]
7fb6dbbdd4 chore(deps) Update Rust crate toml to 0.5.6 (#348)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-23 11:41:13 +01:00
Tensor-Programming
91bf26c336
Refactor(Updater) Modernize Updater Crate and add Utils Crate (#335)
* update updater

* basic utils refactor.

* fix platform file.

* add errors.

* fix cargo.toml

* Rename cargo.toml to Cargo.toml

* remove warning.
2020-01-17 19:33:17 -05:00
Tensor-Programming
b9f3d9a92c
refactor(Bundler, API) clean up external binary logic (#332)
* refactor external binary logic

* update regex and error.

* refactor bundle_settings external bin

* fix bug

* cleanup api

* cleanup windows deps.

* add windows macro
2020-01-16 22:19:21 -05:00
Lucas Fernandes Nogueira
6225e5d30a feat(bundler) add option to bundle external binaries (#312)
* feat(tauri-cli) add option to bundle external binaries

* feat(tauri-cli) bundle external binaries for OSX

* fix(cargo.toml) external bin path

* feat(bundler) bundle external binaries on MSI/WiX

* feat(tauri) append target triple to external binary name

* call cargo fmt.

Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
Co-authored-by: nothingismagick <drthompsonsmagickindustries@gmail.com>
2020-01-15 19:39:34 +01:00
renovate[bot]
07b31c8f87 chore(deps) Update Tauri Bundler (#316)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-15 11:53:44 +01:00
Tensor-Programming
ee2d714b67
Feat(CLI) Icon Check fix: #309 (#310)
* add icon check for windows.

* fix spelling

* add basic icon logic

* make error more prolific
2020-01-12 20:27:35 -05:00
Rajiv Shah
2b28b52097 fix(bundler): Fix DMG script (#283)
- Fix sips command
- Copy seticon from templates folder
- Only cp bg.png if it exists
2020-01-08 11:52:23 +01:00
renovate[bot]
769dcf2d3f fix(deps): update rust crate attohttpc to 0.8.0 (#261)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 14:59:01 -05:00
Tensor-Programming
b92eee019c
[Refactor] Remove unwraps from tauri (#234)
* remove unwraps from tauri code

* refactor bundler and remove unwraps

* remove errors

* cleaup and add distinctions

* reword panic
2019-12-26 16:09:04 -05:00
Rajiv Shah
65f1bf96ef fix(bundler): Return nonzero exit code when errors occur (#233)
* fix(bundler): Return nonzero exit code when errors occur

* fix(bundler): Always exit with exit code 1 when calling print_error
2019-12-26 11:32:48 +01:00
Tensor-Programming
078ae1dfda
[Feature/Bug(#133)] add icon to windows Exe and MSI (#211)
* add icon to msi

* remove print

* make attohttpc windows only

* make attohttpc error windows only

* copy icon files to resource folder in output.

* add ico to template

* remove print

* remove duplicate

* add uninstaller to wix

* fix typos

* fix program flow

* add windows icon logic to template.

* update serde, phf and change includedir to tauri

* update next.js with new tauri setup

* update monolith

* remove unnessecary deps

* remove updater.rs and deps

* update react examples

* update vue example

* Revert "update vue example"

This reverts commit a5d58f55b4.

* Revert "update react examples"

This reverts commit cce215f97e.

* Revert "remove updater.rs and deps"

This reverts commit 8d422294f4.

* Revert "remove unnessecary deps"

This reverts commit 30e023f383.

* Revert "update monolith"

This reverts commit fac097f51a.

* Revert "update next.js with new tauri setup"

This reverts commit caf5f198ea.

* revert smoke-test changes

* revert smoke-test changes

* fix conflicts

* fix conflicts
2019-12-24 14:33:41 -05:00
nothingismagick
92b71cc173 Update Cargo.toml to allow tests to build (#208) 2019-12-23 16:30:21 -03:00
Tensor-Programming
e288180104
[WIP] Refactor(Crates) Tauri into individual Crates (#192)
* split tauri into 3 crates

* fix macros

* change builder into lib

* cleanup package paths

* add features back to lib

* make build function public

* add build-deps

* rename and fix.

* correct package name

* move crates to root and refactor names

* fix github action

* move fixture to tauri-build

* remove slash

* add .vscode features

* fix updater

* fix updater mistake

* fix(tauri) refactor buiilds

* fix seperation

* change get back to get

* fix cfg and remove dead code warnings.

* roll #160 into this pr

* add credit

* fix eof

* chore(tauri) move assets to mod, loadAssets cfg outside its definition

* chore(tauri) remove unused deps

* update updater and cfg

* fix(tauri) embedded-server with dead variable

* add review refactors and remove cli form workgroup

* chore(tauri) rename tauri to tauri-api and tauri-bundle to tauri

* fix workspace and updater

* rename update to updater
2019-12-22 14:04:45 -05:00
nothingismagick
acdb73febf Chore/updates new (#183)
* chore(deps): update and test

* fix(template): fix tauri.js init for mac
2019-12-18 20:19:09 -03:00
Tensor-Programming
f524d72ca5
remove reqwest (#139) 2019-12-12 15:21:02 -05:00
Lucas
57eaf95b69 chore(versions) bump tauri-cli 2019-12-01 18:31:16 -03:00
Lucas Fernandes Nogueira
85674d4fe6 fix(cli) improve workspace detection #67 (#125) 2019-12-01 22:28:54 +01:00
Lucas
0ffdce3e8c chore(versions): bump tauri-cli 2019-12-01 14:07:21 -03:00
nothingismagick
6dcccf5a8e feature/env (#80)
* fix(js-cli) resolve correct paths on `tauri init`

* feat(js-cli) inject src-tauri/ as lodash template

* fix(js-cli) entry paths

* feat(js-cli) rename APP_URL to devPath and allow .html values

* feat(js-cli) reload config when `tauri.conf.js` change detected

* feat(node): update to testing

* feat(template): fix phf, remove updater

* feat(samples): add vanillajs

* fix(templates): objectify tauri
Closes #99.

* fix(examples): update cargo.toml
 - to match signature

* chore(tauri): version update

* feat(workflows): fix dirs, add tokens

* fix(config): more robust env checking

* feat(fixture): start a testing fixture for tauri

* fix(workflow): use fixture for ENV

* fix(examples:vanilla): remove updater

* addition to previous commit re. fixture

* fix(config.rs): fix the unfix

* feat(js-cli) use the new cargo-tauri-cli

* chore(template) cleanup src-tauri/Cargo.toml

* chore(js-cli) toml features cleanup

* chore(js-cli) move edge to config > tauri

* fix(js-cli) appPaths resolve() instead of join()
2019-11-30 08:48:39 -03:00
kastenbutt
ec2b9092ed Update bundler crates. Fix errors related to updated versions of images and uuid. (#72) (#106) 2019-11-30 10:04:42 +01:00
kastenbutt
897f64e715 Cleanup path_utils.rs (#74) (#103) 2019-11-29 11:06:40 +01:00
Rajiv Shah
d1cd6d102e fix(bundler): add use declarations where necessary (#75) 2019-11-28 00:24:52 +01:00
nothingismagick
39ce652329 chore(monorepo): cleanup (#73)
* chore(monorepo): cleanup

* fix(tauri-cli): build errors

* fix(tauri:build.rs): dont' panic if env missing

* fix(finalize): setup for crates

* npm publish on release

actual publish currently disabled

* cargo publish on release

actual publish currently disabled

* update PR tests for new folder structure

* doesn't like the period on job name?

* fail on cargo warnings

otherwise we would assume green arrow is all good

* green on warnings for now
2019-11-27 19:26:24 -03:00