Skip to content

Commit

Permalink
Version 1.0.21 (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zensey authored Nov 23, 2021
1 parent 7372233 commit 3535a87
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 46 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.17


- name: "Build"
Expand All @@ -24,7 +24,7 @@ jobs:
git clone https://github.com/mysteriumnetwork/myst-launcher
pushd myst-launcher
git fetch --all --tags
git checkout tags/1.0.19
git checkout tags/1.0.21
popd
popd
Expand Down
14 changes: 1 addition & 13 deletions gobridge/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,6 @@ module github.com/mysteriumnetwork/fff

go 1.16

require (
github.com/Microsoft/go-winio v0.5.0 // indirect
github.com/buger/jsonparser v1.1.1 // indirect
github.com/containerd/containerd v1.5.7 // indirect
github.com/docker/docker v20.10.10+incompatible
github.com/gorilla/mux v1.8.0 // indirect
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
github.com/mysteriumnetwork/myst-launcher v0.0.0
github.com/stretchr/testify v1.7.0 // indirect
golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d // indirect
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
google.golang.org/grpc v1.40.0 // indirect
)
require github.com/mysteriumnetwork/myst-launcher v0.0.0

replace github.com/mysteriumnetwork/myst-launcher => ../../myst-launcher
61 changes: 35 additions & 26 deletions gobridge/go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions launcher.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@
"$(PROJECT_DIR)/gobridge",
"$(PROJECT_DIR)",
);
MARKETING_VERSION = 1.0.19;
MARKETING_VERSION = 1.0.21;
PRODUCT_BUNDLE_IDENTIFIER = com.mysterium.launcher;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -606,7 +606,7 @@
"$(PROJECT_DIR)/gobridge",
"$(PROJECT_DIR)",
);
MARKETING_VERSION = 1.0.19;
MARKETING_VERSION = 1.0.21;
PRODUCT_BUNDLE_IDENTIFIER = com.mysterium.launcher;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion launcher/MainWindowDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ - (void) refreshFrame {
[self.statusNode setState: [Utils getStateViewStatus: mod.isContainerRunning ]];

[self.labelLauncherUpdate setHidden:(![mod.launcherHasUpdate boolValue])];
[self.btnUpdateToMainnet setHidden:([mod.network isEqualToString:@"mainnet"])];
[self.btnUpdateToMainnet setHidden:([mod currentNetIsMainnet])];
}
break;

Expand Down
1 change: 1 addition & 0 deletions launcher/Model.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@

- (void)setState;
- (void)setNetworkConfig;
- (bool)currentNetIsMainnet;
@end

#endif /* model_h */
9 changes: 7 additions & 2 deletions launcher/Model.m
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ - (void)notificationHandlerMode:(NSNotification *) notification
}

- (void)notificationHandlerState:(NSNotification *) notification{
NSLog(@"notificationHandlerState > %@", notification.userInfo);
//NSLog(@"notificationHandlerState > %@", notification.userInfo);

self.imageName = notification.userInfo[@"imageName"];
self.hasUpdate = notification.userInfo[@"hasUpdate"];
Expand All @@ -79,7 +79,7 @@ - (void)notificationHandlerState:(NSNotification *) notification{
}

- (void)notificationHandlerConfig:(NSNotification *) notification{
NSLog(@"notificationHandlerState > %@", notification.userInfo);
//NSLog(@"notificationHandlerState > %@", notification.userInfo);

self.portBegin = notification.userInfo[@"portRangeBegin"];
self.portEnd = notification.userInfo[@"portRangeEnd"];
Expand Down Expand Up @@ -155,4 +155,9 @@ - (void)setNetworkConfig {
GoSetNetworkConfig(&s);
}


- (bool)currentNetIsMainnet {
return [self.network isEqual:@"mainnet"] || [self.network isEqual:@""];
}

@end

0 comments on commit 3535a87

Please sign in to comment.