mirror of
https://github.com/tauri-apps/tauri.git
synced 2025-01-01 07:23:57 +03:00
fix(js-cli) check if devPath is an URL
This commit is contained in:
parent
c4ff10d2b1
commit
c8de099a59
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tauri",
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"description": "Multi-binding collection of libraries and templates for building Tauri apps",
|
||||
"bin": {
|
||||
"tauri": "./bin/tauri.js"
|
||||
|
@ -42,7 +42,7 @@ class Runner {
|
||||
|
||||
this.devPath = devPath
|
||||
|
||||
const args = ['--path', path.resolve(appDir, devPath)]
|
||||
const args = ['--path', devPath.startsWith('http') ? devPath : path.resolve(appDir, devPath)]
|
||||
const features = ['dev']
|
||||
|
||||
const startDevTauri = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user