-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1644 from ebkr/develop
Release 3.1.56 (Develop)
- Loading branch information
Showing
84 changed files
with
2,886 additions
and
1,686 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import VersionNumber from '../model/VersionNumber'; | ||
|
||
export default class ManagerInformation { | ||
public static VERSION: VersionNumber = new VersionNumber('3.1.55'); | ||
public static VERSION: VersionNumber = new VersionNumber('3.1.56'); | ||
public static IS_PORTABLE: boolean = false; | ||
public static APP_NAME: string = "r2modman"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<script lang="ts"> | ||
import { Component, Vue } from 'vue-property-decorator'; | ||
import R2Error from '../model/errors/R2Error'; | ||
@Component({}) | ||
export default class ModListUpdateBanner extends Vue { | ||
get isModListLoaded(): boolean { | ||
return this.$store.state.tsMods.modsLastUpdated !== undefined; | ||
} | ||
get isUpdateInProgress(): boolean { | ||
return this.$store.state.tsMods.isThunderstoreModListUpdateInProgress; | ||
} | ||
get updateError(): Error|undefined { | ||
return this.$store.state.tsMods.thunderstoreModListUpdateError; | ||
} | ||
async updateModList() { | ||
await this.$store.dispatch('tsMods/syncPackageList'); | ||
} | ||
openErrorModal() { | ||
this.$store.commit('error/handleError', R2Error.fromThrownValue( | ||
this.updateError, | ||
'Error updating the mod list from Thunderstore', | ||
)); | ||
} | ||
} | ||
</script> | ||
|
||
<template> | ||
<div v-if="!isModListLoaded" id="mod-list-update-banner" class="margin-bottom"> | ||
<div class="notification is-warning margin-right"> | ||
<span v-if="isUpdateInProgress"> | ||
{{ $store.state.tsMods.thunderstoreModListUpdateStatus }} | ||
</span> | ||
<span v-else-if="updateError"> | ||
Error updating the mod list. | ||
<a @click="openErrorModal">View error details</a>. | ||
<br /> | ||
The manager will keep trying to update the mod list in the background. | ||
</span> | ||
<span v-else> | ||
An error occurred when updating the mod list from Thunderstore. | ||
Would you like to | ||
<a @click="updateModList">try again now</a>? | ||
</span> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<style scoped lang="scss"> | ||
</style> |
Oops, something went wrong.