Skip to content

Commit

Permalink
Update plugin-sync-configuration-webdav.js
Browse files Browse the repository at this point in the history
use Plugins.useEnvStore()
  • Loading branch information
jbwfu authored Nov 12, 2024
1 parent bbe978f commit 5464f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Generic/plugin-sync-configuration-webdav.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Sync = async () => {

let failed = false

const isWindows = navigator.userAgent.indexOf('Windows') !== -1
const isWindows = Plugins.useEnvStore().env.os == 'windows'
const separator = isWindows ? '\\' : '/'

const _files = Object.keys(files)
Expand Down

0 comments on commit 5464f48

Please sign in to comment.