Skip to content

Commit

Permalink
Change name to openblock
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengyangliu committed Jan 17, 2021
1 parent e97c88c commit 4c91178
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# scratch-desktop

Scratch 3.0 as a standalone desktop application
OpenBlock as a standalone desktop application

## Developer Instructions

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "openblock-desktop",
"productName": "Openblock",
"description": "Openblock 3.0 as a self-contained desktop application",
"description": "Openblock as a self-contained desktop application",
"author": "Openblock Team",
"version": "1.0.0-beta",
"license": "BSD-3-Clause",
Expand Down
12 changes: 6 additions & 6 deletions src/main/FileFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ const saveFilters = {
extensions: ['png']
},
SB: {
name: 'Scratch 1 Project',
name: 'OpenBlock 1 Project',
extensions: ['sb']
},
SB2: {
name: 'Scratch 2 Project',
name: 'OpenBlock 2 Project',
extensions: ['sb2']
},
SB3: {
name: 'Scratch 3 Project',
name: 'OpenBlock 3 Project',
extensions: ['sb3']
},
Sprite2: {
name: 'Scratch 2 Sprite',
name: 'OpenBlock 2 Sprite',
extensions: ['sprite2']
},
Sprite3: {
name: 'Scratch 3 Sprite',
name: 'OpenBlock 3 Sprite',
extensions: ['sprite3']
},
SVG: {
Expand Down Expand Up @@ -59,7 +59,7 @@ const loadFilters = {
]
},
AllProjects: {
name: 'All Scratch Projects',
name: 'All OpenBlock Projects',
extensions: [
...saveFilters.SB3.extensions,
...saveFilters.SB2.extensions,
Expand Down
2 changes: 1 addition & 1 deletion src/main/ScratchDesktopTelemetry.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const EVENT_TEMPLATE = {
}
};

const APP_ID = 'scratch-desktop';
const APP_ID = 'openblock-desktop';
const APP_VERSION = app.getVersion();
const APP_INFO = Object.freeze({
projectName: `${APP_ID} ${APP_VERSION}`
Expand Down
8 changes: 4 additions & 4 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ const displayPermissionDeniedWarning = (browserWindow, permissionType) => {
case 'camera':
title = 'Camera Permission Denied';
message = 'Permission to use the camera has been denied. ' +
'Scratch will not be able to take a photo or use video sensing blocks.';
'OpenBlock will not be able to take a photo or use video sensing blocks.';
break;
case 'microphone':
title = 'Microphone Permission Denied';
message = 'Permission to use the microphone has been denied. ' +
'Scratch will not be able to record sounds or detect loudness.';
'OpenBlock will not be able to record sounds or detect loudness.';
break;
default: // shouldn't ever happen...
title = 'Permission Denied';
Expand All @@ -69,10 +69,10 @@ const displayPermissionDeniedWarning = (browserWindow, permissionType) => {
let instructions;
switch (process.platform) {
case 'darwin':
instructions = 'To change Scratch permissions, please check "Security & Privacy" in System Preferences.';
instructions = 'To change OpenBlock permissions, please check "Security & Privacy" in System Preferences.';
break;
default:
instructions = 'To change Scratch permissions, please check your system settings and restart Scratch.';
instructions = 'To change OpenBlock permissions, please check your system settings and restart OpenBlock.';
break;
}
message = `${message}\n\n${instructions}`;
Expand Down

0 comments on commit 4c91178

Please sign in to comment.