mirror of
https://github.com/Novattz/creamlinux-installer.git
synced 2025-12-06 03:55:37 -05:00
dumb
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const { execSync } = require('child_process')
|
||||
import fs from 'node:fs'
|
||||
import path from 'node:path'
|
||||
import { execSync } from 'node:child_process'
|
||||
|
||||
// Define paths
|
||||
const rustFilesPath = path.join(__dirname, '..', 'src-tauri')
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const { execSync } = require('child_process')
|
||||
import fs from 'node:fs'
|
||||
import path from 'node:path'
|
||||
|
||||
// Read the current version from package.json
|
||||
const packageJson = require('../package.json')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
import fs from 'node:fs'
|
||||
import path from 'node:path'
|
||||
|
||||
// Read current version from package.json
|
||||
const packageJsonPath = path.join(__dirname, '..', 'package.json')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
import fs from 'node:fs'
|
||||
import path from 'node:path'
|
||||
|
||||
// Path to your tauri.conf.json file
|
||||
const tauriConfigPath = path.join(__dirname, '..', 'src-tauri', 'tauri.conf.json')
|
||||
|
||||
Reference in New Issue
Block a user