feat(updateWebview): and a couple npm ignores (#63)

This commit is contained in:
nothingismagick 2019-11-24 16:20:04 +01:00 committed by GitHub
parent dc06913def
commit a809cb759f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 5 deletions

3
.gitignore vendored
View File

@ -62,4 +62,5 @@ package-lock.json
src-tauri
test/jest/tmp
test/jest/tmp
/tauri.conf.js

View File

@ -7,4 +7,5 @@ node_modules
.idea
SECURITY.md
src-tauri
src-tauri
/tauri.conf.js

View File

@ -7,7 +7,7 @@ edition = "2018"
[dependencies]
# tauri-ui = { path = "../../bindings/rust" }
web-view = "0.5.3"
web-view = "0.5.4"
serde_json = "1.0.41"
serde = "1.0"
serde_derive = "1.0"

View File

@ -19,7 +19,6 @@ function getAppDir () {
}
// just return the current directory
console.log(dir)
return process.cwd()
}

View File

@ -1,6 +1,6 @@
{
"name": "@tauri-apps/tauri",
"version": "0.0.1-utility.15",
"version": "0.0.1-utility.16",
"description": "Multi-binding collection of libraries and templates for building Tauri apps",
"bin": {
"tauri": "./mode/bin/tauri.js"

View File

@ -50,6 +50,7 @@ describe('[CLI] tauri-icon builder', () => {
})
it('makes a set of icons with zopfli', async () => {
jest.setTimeout(120000)
const valid = await tauricon.make('test/jest/fixtures/tauri-logo.png', 'test/jest/tmp/zopfli', 'zopfli')
expect(valid).toBe(true)
})