// Copyright 2015-2018 Parity Technologies (UK) Ltd. // This file is part of Parity. // // SPDX-License-Identifier: BSD-3-Clause /* global __static */ import { app } from 'electron'; /** * Get the path to the `static` folder. * * @see https://github.com/electron-userland/electron-webpack/issues/52 */ const staticPath = app.isPackaged ? __dirname.replace(/app\.asar$/, 'static') : __static; export default staticPath;