Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
achhabra2 committed Dec 31, 2021
1 parent 33fe594 commit b3b580c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func NewApp(logPath string) *App {
func (b *App) startup(ctx context.Context) {
// Perform your setup here
b.ctx = ctx
runtime.LogInfo(b.ctx, "Fetching User Preferences")
setting, err := settings.GetUserSettings()
if err != nil {
runtime.LogError(b.ctx, err.Error())
Expand All @@ -61,7 +62,10 @@ func (b *App) startup(ctx context.Context) {
func (b *App) domReady(ctx context.Context) {
// Add your action here
if b.UserPrefs.SelfUpdate && !b.AppInstalledFromPackageManager() {
runtime.LogInfo(b.ctx, "Checking For Updates")
b.UpdateCheckUI()
} else {
runtime.LogInfo(b.ctx, "Skipping Update Check")
}
}

Expand Down
4 changes: 2 additions & 2 deletions build/windows/appxmanifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities">
<Identity Name="app.riftshare" Version="0.1.4.0" Publisher="CN=RiftShare, O=App, L=Dublin, S=California, C=USA" ProcessorArchitecture="x64" />
<Identity Name="" Version="0.1.4.0" Publisher="" ProcessorArchitecture="x64" />
<Properties>
<DisplayName>RiftShare</DisplayName>
<PublisherDisplayName>Aman Chhabra</PublisherDisplayName>
Expand All @@ -15,7 +15,7 @@
<Resource uap:Scale="100"/>
</Resources>
<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17134.0" MaxVersionTested="10.0.22000.0" />
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.18363.0" MaxVersionTested="10.0.22000.0" />
</Dependencies>
<Capabilities>
<rescap:Capability Name="runFullTrust"/>
Expand Down

0 comments on commit b3b580c

Please sign in to comment.