Browse Source

fix error file name 'tauri.conf.js' to 'tauri.conf.json' (#434)

* fix error file name 'tauri.conf.js' to 'tauri.conf.json'

* fix(tauri.js) if the DOM is already loaded, listen for <a> clicks (#436)

code is fine, the CI is borked

* fix(open) open <a> on browser only if target=_blank (#437)

merging because CI is borked

* fix(tauri): make github action envs absolute for extra path level in runner.rs (#438)

* fix(tauri): extra path level in runner.rs

This file is one folder deeper than the other files which reference this env. This env is a relative folder reference so we need to concat an extra folder traversal into it.

* Revert "fix(tauri): extra path level in runner.rs"

This reverts commit eb1034b4f39513c036466ea62fa2fc551dd344a8.

* make envs in GH Actions absolute for now

* runner is only available within steps

* feat(bundler) add exception_domain option by nothingismagick (#439)

* chore(deps) Update Tauri JS CLI (#421)

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: nothingismagick <denjell@sfosc.org>
Shihpin Tseng 5 years ago
parent
commit
c15a6d5649
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cli/tauri.js/src/runner.ts

+ 2 - 2
cli/tauri.js/src/runner.ts

@@ -79,7 +79,7 @@ class Runner {
           path.join(tauriDir, 'src'),
           path.join(tauriDir, 'Cargo.toml'),
           path.join(tauriDir, 'build.rs'),
-          path.join(appDir, 'tauri.conf.js')
+          path.join(appDir, 'tauri.conf.json')
         ],
         {
           ignoreInitial: true
@@ -90,7 +90,7 @@ class Runner {
         debounce((path: string) => {
           this.__stopCargo()
             .then(() => {
-              if (path.includes('tauri.conf.js')) {
+              if (path.includes('tauri.conf.json')) {
                 this.run(getTauriConfig({ ctx: cfg.ctx })).catch(e => {
                   throw e
                 })