const path = require('path')
const win = require('os').platform() === 'win32'

const imgdir = path.join(__dirname, '..', 'images')

const makesafe = str => win ? str.replace(/\\/g, '\\\\') : str

module.exports = img => makesafe(path.join(imgdir, img))

const path = require('path')
const win = require('os').platform() === 'win32'

const imgdir = path.join('.', 'images')

module.exports = img => path.join(imgdir, img)

revert to normal imagepaths now we are using asar