chore(deps): update to wry 0.10 (#2041)

* chore(deps): update to wry 0.10

* fix: cli format
This commit is contained in:
Lucas Fernandes Nogueira 2021-06-22 10:47:45 -03:00 committed by GitHub
parent d0bbc6d309
commit 842652abe5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 8 deletions

View File

@ -24,9 +24,6 @@ members = [
"examples/updater/src-tauri", "examples/updater/src-tauri",
] ]
[patch.crates-io]
tao = { git = "https://github.com/tauri-apps/tao", rev = "01fc43b05ea41463d512c0e3497971edc543ac9d" }
# default to small, optimized workspace release binaries # default to small, optimized workspace release binaries
[profile.release] [profile.release]
panic = "abort" panic = "abort"

View File

@ -12,7 +12,7 @@ exclude = [ ".license_template", "CHANGELOG.md", "/target" ]
readme = "README.md" readme = "README.md"
[dependencies] [dependencies]
wry = { git = "https://github.com/tauri-apps/wry", rev = "6a1475ff76cbdd699df9329ab8e2181c2a794c96", default-features = false, features = [ "file-drop", "protocol", "win32" ] } wry = { version = "0.10", default-features = false, features = [ "file-drop", "protocol", "win32" ] }
tauri-runtime = { version = "0.1.1", path = "../tauri-runtime" } tauri-runtime = { version = "0.1.1", path = "../tauri-runtime" }
tauri-utils = { version = "1.0.0-beta.0", path = "../tauri-utils" } tauri-utils = { version = "1.0.0-beta.0", path = "../tauri-utils" }
uuid = { version = "0.8.2", features = [ "v4" ] } uuid = { version = "0.8.2", features = [ "v4" ] }

View File

@ -25,10 +25,7 @@ describe('[CLI] cli.js template', () => {
const manifestPath = resolve(tauriFixturePath, 'Cargo.toml') const manifestPath = resolve(tauriFixturePath, 'Cargo.toml')
const manifestFile = readFileSync(manifestPath).toString() const manifestFile = readFileSync(manifestPath).toString()
writeFileSync( writeFileSync(manifestPath, `workspace = { }\n${manifestFile}`)
manifestPath,
`workspace = { }\n[patch.crates-io]\ntao = { git = "https://github.com/tauri-apps/tao", rev = "01fc43b05ea41463d512c0e3497971edc543ac9d" }\n\n${manifestFile}`
)
const { promise: buildPromise } = await build() const { promise: buildPromise } = await build()
await buildPromise await buildPromise