Skip to content

Commit 038e548

Browse files
committed
Merge pull request #81 from NativeScript/fatme/change-default-appid
Change default appid
2 parents e296a62 + bd295e5 commit 038e548

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/commands/post-install.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class PostInstallCommand implements ICommand {
2020
public execute(args: string[]): IFuture<void> {
2121
return (() => {
2222
if(process.platform !== "win32") {
23-
this.$fs.chmod(this.$staticConfig.adbFilePath, 755).wait();
23+
this.$fs.chmod(this.$staticConfig.adbFilePath, "0777").wait();
2424
}
2525

2626
this.enableAutoCompletion().wait();

lib/services/project-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class ProjectService implements IProjectService {
6060
}
6161
this.$projectNameValidator.validate(projectName);
6262

63-
projectId = options.appid || this.$projectHelper.generateDefaultAppId(projectName);
63+
projectId = options.appid || this.$projectHelper.generateDefaultAppId(projectName, "org.nativescript");
6464

6565
var projectDir = path.join(path.resolve(options.path || "."), projectName);
6666
this.$fs.createDirectory(projectDir).wait();

test/stubs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class FileSystemStub implements IFileSystem {
9292
return undefined;
9393
}
9494

95-
chmod(path: string, mode: number): IFuture<any> {
95+
chmod(path: string, mode: any): IFuture<any> {
9696
return undefined;
9797
}
9898

0 commit comments

Comments
 (0)