You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-06 09:19:22 +02:00
Fixed RN text field and gave different OneDrive token to demo
This commit is contained in:
@@ -177,6 +177,12 @@ class Application {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (arg == '--is-demo') {
|
||||
Setting.setConstant('isDemo', true);
|
||||
argv.splice(0, 1);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (arg == '--update-geolocation-disabled') {
|
||||
Note.updateGeolocationEnabled_ = false;
|
||||
argv.splice(0, 1);
|
||||
|
||||
@@ -43,7 +43,7 @@ class OneDriveApiNodeUtils {
|
||||
|
||||
this.api().setAuth(null);
|
||||
|
||||
const port = await netUtils.findAvailablePort(this.possibleOAuthDancePorts());
|
||||
const port = await netUtils.findAvailablePort(this.possibleOAuthDancePorts(), 0);
|
||||
if (!port) throw new Error(_('All potential ports are in use - please report the issue at %s', 'https://github.com/laurent22/joplin'));
|
||||
|
||||
let authCodeUrl = this.api().authCodeUrl('http://localhost:' + port);
|
||||
|
||||
Reference in New Issue
Block a user