Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Commit

Permalink
🔨 Fix dependency installation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
whitigol committed Jan 1, 2024
1 parent c621360 commit e5ef3c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "snailycad-manager-v2",
"version": "2.2.9",
"version": "2.2.10",
"description": "Easily manage SnailyCAD v4 with an easy-to-understand GUI.",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/utils/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ appAPI.post('/install', (req: any, res: any) => {
message: 'Starting Installation',
});
const installScript = spawn(
'echo Downloading Repository && git clone https://github.com/SnailyCAD/snaily-cadv4.git && echo Opening Directory && cd snaily-cadv4 && echo Installing Dependencies (This may take a while) && pnpm install --force && echo Copying ENV && copy .env.example .env && echo Moving ENV && node scripts/copy-env.mjs --client --api && echo Building CAD (This might take a while) && pnpm run build && echo Installation Complete',
'echo Downloading Repository && git clone https://github.com/SnailyCAD/snaily-cadv4.git && echo Opening Directory && cd snaily-cadv4 && echo Installing Dependencies (This may take a while) && pnpm install --config.confirmModulesPurge=false --prod=false && echo Copying ENV && copy .env.example .env && echo Moving ENV && node scripts/copy-env.mjs --client --api && echo Building CAD (This might take a while) && pnpm run build && echo Installation Complete',
[],
{
shell: true,
Expand Down Expand Up @@ -180,7 +180,7 @@ appAPI.post('/update', (req: any, res: any) => {
message: 'Starting Update',
});
const updateScript = spawn(
'echo Stashing Changes && git stash && echo Running Update Script && git pull origin main && pnpm install --force && pnpm run build && echo Update Complete',
'echo Stashing Changes && git stash && echo Running Update Script && git pull origin main && pnpm install --config.confirmModulesPurge=false --prod=false && pnpm run build && echo Update Complete',
[],
{
shell: true,
Expand Down

0 comments on commit e5ef3c5

Please sign in to comment.