#Additional properties are not allowed

20 messages · Page 1 of 1 (latest)

weary lodge
#
  › OS: Windows 10.0.19044 X64
  › Webview2: 109.0.1518.52
  › MSVC:
      - Visual Studio Build Tools 2019
      - Visual Studio Community 2022
  › Node.js: 16.18.0
  › npm: 8.19.2
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.25.1
  › rustc: 1.66.1
  › cargo: 1.66.1
  › Rust toolchain: stable-x86_64-pc-windows-msvc

Packages
  › @tauri-apps/cli [NPM]: 1.2.2
  › @tauri-apps/api [NPM]: 1.2.0
  › tauri [RUST]: 1.2.3,
  › tauri-build [RUST]: 1.2.1,
  › tao [RUST]: 0.15.8,
  › wry [RUST]: 0.23.4,

App
       Error `tauri.conf.json` error on `tauri > bundle > windows`: Additional properties are not allowed ('decorations', 'transparent' were unexpected)```
#

I keep getting this error, although in the examples I've seen it looks just like this

      "windows": {
        "certificateThumbprint": null,
        "digestAlgorithm": "sha256",
        "timestampUrl": "",
        "transparent": true,
        "decorations": false
      }
#

Are 'decorations' and 'transparent' outdated?

meager lotus
#

the windows is build config of windows platform

weary lodge
#

Yeah I realized

#

there were two

#

one supposed to be in tauri: and one in tauri>bundle:

meager lotus
#

you need add to tauri > windows > [window you want]

weary lodge
#

How come they are named the same, are they related to each other?

meager lotus
#

the tauri > windows is config of your window-s
the tauri > bundle > windows if config of bundle on windows platform

weary lodge
#

So tauri > windows is cross-platform in other words?

#

if I were to set height to something, would it do the same on Linux?

meager lotus
#

tauri > windows is just about your window settings
tauri > bundle > windows is just about how would windows bundle will build, not related

weary lodge
#

but is tauri > windows universal between platforms?

meager lotus
#

yes (if not explicit point out in the description)

weary lodge
#

alright, thanks

#

will keep that in mind for mobile compability

#

unless it fullscreens automatically

meager lotus
#

on mobile I think it would force fullscreen

weary lodge
#

I'm loving tauri so far, I just hope reading information and documentation about it will get easier with time