* Fix typo referring to dev path cli arg
The devPath config variable is set to a non-existent command line arg
`argv.p`, it should be `argv.P`
So if the devPath is set via a command line argument, it defaults
to the default value:
```
/home/projects/example2
⟩ yarn tauri init -P http://THISDOESNOTHING
yarn run v1.22.4
$ /home/projects/example2/node_modules/.bin/tauri init -P http://THISDOESNOTHING
[tauri]: running init
? What is your app name? example2
? What should the window title be? Tauri App
? Where are your web assets (HTML/CSS/JS) located, relative to the "<current dir>/src-tauri" folder that will be created? ../dist
dependency:manager Installing missing dependencies... +0ms
dependency:cargo-commands "tauri-bundler" is already installed +18ms
app:spawn [sync] Running "cargo generate-lockfile" +2ms
Updating crates.io index
dependency:crates "tauri" is already installed +941ms
dependency:npm-packages "tauri" is already installed +1s
Done in 6.35s.
/home/projects/example2
⟩ cat ./src-tauri/tauri.conf.json | grep THISDOESNOTHING
/home/projects/example2
```
* Fix similar typo affecting the window title param
* Add change file
* feat(bundler): hide output from bundle_appimage.sh
* fix(bundler/appimage): log file name instead of full path
to match behavior of .deb build
* feat(bundler): hide shell script output unless --verbose is passed
* feat(bundler): add notice about --verbose on error
* fix(bundler): windows fails to compile
* fix(bundler) do not warn about verbosity if verbose is set
* chore(changes) add change file
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* inject css with template string to allow for line breaks
alternative solution would to be implement a struct `JsStringLiteral`
with `fmt::Display` that escapes all forbidden codepoints from the spec
https://www.ecma-international.org/ecma-262/#sec-literals-string-literals
template string literal seems fine as all browsers that tauri supports have
had support for them for the past 3-4+ years
Signed-off-by: Chip Reed <chip@chip.sh>
* chore(changes) adjust change file
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
They can now run check, clippy, fmt, or test. They default to running
clippy, fmt, and test in that order. The cargo sub-commands to run
can be specified as arguments to the script. Only the 4 supported
sub-commands are allowed.
Signed-off-by: Chip Reed <chip@chip.sh>
cat is not available as a command on a default windows install.
This disables the command test that uses cat during tests. It also
disables `test_cmd_fail` even though it passes, because the test
is testing the wrong thing in this case.
* reorder packages that core is published last
* general ledger comment, not just npm
* we do want to create releases
* leading ! does not seem to negate
* dump a bunch of info to debug
* add covector to root
* add workflow to covector config
* bump covector
* add webkit install on publish
* create workflow to version and publish
* remove workflows no longer needed
* add repo info to root package.json
* add early exits based on new output
* switch to dry run version of publish commands
* latest branch is being removed in this PR
* add summary component around yarn audit
* chore: add audit button and yarn audit
This is a new feature that should give us a button that we can click a button to see audit results rather than waiting for a cron or a run within our workflows.
* split audit into js and rust