Change docs and CI scripts to use pnpm tauri command (#1421)

* Change docs and CI scripts to use `pnpm tauri` command
 - Fix documentation and some scripts to use the new tauri subcommand following https://github.com/spacedriveapp/spacedrive/pull/1411 changes
 - Format/Lint some files

* Document new envvar to lauch devtools alongside the desktop app
This commit is contained in:
Vítor Vasconcellos
2023-10-03 05:10:55 -03:00
committed by GitHub
parent 4e0dd5fe0b
commit f71711d09a
11 changed files with 29 additions and 26 deletions

View File

@@ -43,7 +43,7 @@ async function getCache(resource, headers) {
let header;
// Don't cache in CI
if (env.CI === 'true') return null
if (env.CI === 'true') return null;
if (headers)
resource += Array.from(headers.entries())
@@ -87,7 +87,7 @@ async function setCache(response, resource, cachedData, headers) {
const data = Buffer.from(await response.arrayBuffer());
// Don't cache in CI
if (env.CI === 'true') return data
if (env.CI === 'true') return data;
const etag = response.headers.get('ETag') || undefined;
const modifiedSince = response.headers.get('Last-Modified') || undefined;