1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 18:32:34 +01:00
lossless-cut/public/util.js
Mikael Finstad 3bc407cabd
refactors
- upgarde execa
- remove moment
- pull ffmpeg/execa logic out into main process
2023-04-08 23:51:09 +09:00

19 lines
326 B
JavaScript

const os = require('os');
const frontendBuildDir = 'vite-dist';
// todo dedupe between renderer and main
const platform = os.platform();
const arch = os.arch();
const isWindows = platform === 'win32';
const isMac = platform === 'darwin';
module.exports = {
frontendBuildDir,
isWindows,
isMac,
platform,
arch,
};