Skip to content

Commit d1da856

Browse files
committed
Merge branch 'master' of github.com:pebble/pebble-tool
2 parents 21baee0 + 6d20b30 commit d1da856

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pebble_tool/commands/sdk/create.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __call__(self, args):
8181
raise ToolError("--rocky is incompatible with --simple and --worker")
8282
template_paths = [os.path.join(self.get_sdk_path(), 'pebble', 'common', 'templates', 'rocky')]
8383
file_list.extend([
84-
('app.js', 'src/pkjs/app.js'),
84+
('app.js', 'src/pkjs/index.js'),
8585
('index.js', 'src/rocky/index.js'),
8686
('wscript', 'wscript')
8787
])
@@ -97,7 +97,9 @@ def __call__(self, args):
9797
])
9898

9999
if args.javascript:
100-
file_list.extend([('app.js', 'src/js/app.js'), ('pebble-js-app.js', 'src/js/pebble-js-app.js')])
100+
file_list.extend([
101+
('app.js', 'src/js/app.js'),
102+
('pebble-js-app.js', 'src/js/pebble-js-app.js')])
101103
if args.worker:
102104
file_list.append(('worker.c', 'worker_src/c/{}_worker.c'.format(project_name)))
103105

0 commit comments

Comments
 (0)