Skip to content

Commit

Permalink
Fix for Mac and Linux apps
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomgcd committed Jun 24, 2021
1 parent 9438484 commit bdc4dca
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion changes.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"changes":[
{
"version": "1.0.1",
"version": "1.0.2",
"log":[
"First public release",
"Added Auto Launch option"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "com.joaomgcd.join",
"productName": "Join Desktop",
"homepage": "https://joaoapps.com/join/desktop",
"version": "1.0.1",
"version": "1.0.2",
"description": "A companion app for the Join website",
"main": "main_esm.js",
"scripts": {
Expand Down
11 changes: 11 additions & 0 deletions v2/gcm/gcmserviceworker.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,17 @@ class GCMLocalNetworkTest extends GCMGenericPush{}
class GCMWebSocketRequest extends GCMGenericPush{}
class GCMLocalNetworkTestRequest extends GCMGenericPush{}
class GCMRespondFile extends GCMBaseServiceWorker{}
class GCMFolder extends GCMBaseServiceWorker{
async modifyNotification(notification,index){
if(!this.senderId) return;

const device = await this.getSender();
if(!device) return;

notification.title = "File Browser";
notification.body = `${device.deviceName} responded with its files`;
}
}
class GCMDeviceNotOnLocalNetwork extends GCMGenericPush{
async modifyNotification(notification,index){
if(!this.senderId) return;
Expand Down

0 comments on commit bdc4dca

Please sign in to comment.