chore: replace atom path with shell in scripts

This commit is contained in:
Samuel Attard 2019-06-19 14:05:56 -07:00 committed by Samuel Attard
parent 56930338e8
commit 8c4496a9c9
2 changed files with 3 additions and 2 deletions

View file

@ -126,7 +126,7 @@ async function commitVersionBump (version) {
// updates atom.rc file with new semver values
async function updateWinRC (components) {
const filePath = path.resolve(__dirname, '..', 'atom', 'browser', 'resources', 'win', 'atom.rc')
const filePath = path.resolve(__dirname, '..', 'shell', 'browser', 'resources', 'win', 'atom.rc')
const data = await readFile(filePath, 'utf8')
const arr = data.split('\n')
arr.forEach((line, idx) => {

View file

@ -176,7 +176,8 @@ def execute_stdout(argv, env=None, cwd=None):
def get_electron_branding():
SOURCE_ROOT = os.path.abspath(os.path.join(__file__, '..', '..', '..'))
branding_file_path = os.path.join(SOURCE_ROOT, 'atom', 'app', 'BRANDING.json')
branding_file_path = os.path.join(
SOURCE_ROOT, 'shell', 'app', 'BRANDING.json')
with open(branding_file_path) as f:
return json.load(f)