chore: Update process.platform references to use surferPlatform

This commit is contained in:
Mauro Balades 2024-07-10 19:03:28 +02:00
parent 795991d1dc
commit 38b94f1cda
9 changed files with 15 additions and 15 deletions

View file

@ -109,7 +109,7 @@ async function setupImages(configPath: string, outputPath: string) {
)
// TODO: Custom MacOS icon support
if (process.surferPlatform == 'darwin') {
if ((process as any).surferPlatform == 'darwin') {
log.debug('Generating Mac Icons')
const temporary = join(MELON_TMP_DIR, 'macos_icon_info.iconset')