I just needed node 20

This commit is contained in:
thororen1234 2024-07-19 23:58:31 -04:00
commit b90ca8b170
5 changed files with 5 additions and 9 deletions

View file

@ -84,7 +84,9 @@ jobs:
cp "$file" "release/equicordDesktop${filename^}"
done
find release -size 0 -delete
rm release/package.json
rm release/*.map
- name: Upload Equicord
if: github.repository == 'Equicord/Equicord'

View file

@ -23,7 +23,7 @@ import { existsSync, readdirSync } from "fs";
import { readdir, rm, writeFile } from "fs/promises";
import { join } from "path";
import { addBuild, BUILD_TIMESTAMP, buildOrWatchAll, commonOpts, exists, globPlugins, IS_DEV, IS_REPORTER, IS_STANDALONE, IS_UPDATER_DISABLED, resolvePluginName, VERSION, watch } from "@scripts/build/common.mts";
import { addBuild, BUILD_TIMESTAMP, buildOrWatchAll, commonOpts, exists, globPlugins, IS_DEV, IS_REPORTER, IS_STANDALONE, IS_UPDATER_DISABLED, resolvePluginName, VERSION, watch } from "./common.mjs";
const defines = {
IS_STANDALONE: String(IS_STANDALONE),

View file

@ -23,7 +23,7 @@ import { appendFile, mkdir, readdir, readFile, rm, writeFile } from "fs/promises
import { join } from "path";
import Zip from "zip-local";
import { addBuild, BUILD_TIMESTAMP, buildOrWatchAll, commonOpts, globPlugins, IS_DEV, IS_REPORTER, VERSION } from "./common.mts";
import { addBuild, BUILD_TIMESTAMP, buildOrWatchAll, commonOpts, globPlugins, IS_DEV, IS_REPORTER, VERSION } from "./common.mjs";
/**
* @type {esbuild.BuildOptions}

View file

@ -27,7 +27,7 @@ import { minify as minifyHtml } from "html-minifier-terser";
import { join, relative } from "path";
import { promisify } from "util";
import { getPluginTarget } from "../utils.mts";
import { getPluginTarget } from "../utils.mjs";
const PackageJSON: typeof import("../../package.json") = JSON.parse(readFileSync("package.json", "utf-8"));

View file

@ -20,12 +20,6 @@
"jsx": "preserve",
"baseUrl": "./src/",
"paths": {
"@scripts/*": [
"../scripts/*"
],
"@scripts/build/*": [
"../scripts/build/*"
],
"@main/*": [
"./main/*"
],