Skip to content

Commit

Permalink
Merge pull request #32 from KizKizz/backend-rework
Browse files Browse the repository at this point in the history
fav list fix
  • Loading branch information
KizKizz authored Jul 24, 2022
2 parents a129619 + b43b860 commit dc95916
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
6 changes: 2 additions & 4 deletions app_version_check/app_version.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
"name": "PSO2NGS Mod Manager",
"version": "1.4.4",
"version": "1.4.5",
"description": [
"Applied List improvement",
" - Keep track of duplicated files instead of removing them from list",
" - Reapply mods directly from applied list (For duplicate mods that have different number of ices)"
"Fixed an issue with open item's folder in Favorites list to work properly"
],
"windows_file": "",
"linux_file": ""
Expand Down
8 changes: 4 additions & 4 deletions lib/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
height: 50,
child: MaterialButton(
onPressed: (() async {
await launchUrl(Uri.parse('file:${cateList[index].categoryPath}\\${cateList[index].itemNames[i]}'));
await launchUrl(Uri.parse('file:${cateList[index].allModFiles.firstWhere((element) => element.modName == cateList[index].itemNames[i]).modPath}'));
}),
child: Row(
children: const [
Expand Down Expand Up @@ -802,7 +802,7 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
height: 50,
child: MaterialButton(
onPressed: (() async {
await launchUrl(Uri.parse('file:${cateList[index].categoryPath}\\${cateList[index].itemNames[i]}'));
await launchUrl(Uri.parse('file:${cateList[index].categoryPath}$s${cateList[index].itemNames[i]}'));
}),
child: Row(
children: const [
Expand Down Expand Up @@ -1078,7 +1078,7 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
height: 50,
child: MaterialButton(
onPressed: (() async {
await launchUrl(Uri.parse('file:${cateListSearchResult[index].categoryPath}\\${cateListSearchResult[index].itemNames[i]}'));
await launchUrl(Uri.parse('file:${cateListSearchResult[index].categoryPath}$s${cateListSearchResult[index].itemNames[i]}'));
}),
child: Row(
children: const [
Expand Down Expand Up @@ -1195,7 +1195,7 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
height: 50,
child: MaterialButton(
onPressed: (() async {
await launchUrl(Uri.parse('file:${cateListSearchResult[index].categoryPath}\\${cateListSearchResult[index].itemNames[i]}'));
await launchUrl(Uri.parse('file:${cateListSearchResult[index].categoryPath}$s${cateListSearchResult[index].itemNames[i]}'));
}),
child: Row(
children: const [
Expand Down
4 changes: 2 additions & 2 deletions windows/runner/Runner.rc
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ IDI_APP_ICON ICON "resources\\app_icon.ico"
#ifdef FLUTTER_BUILD_NUMBER
#define VERSION_AS_NUMBER FLUTTER_BUILD_NUMBER
#else
#define VERSION_AS_NUMBER 1,4,4
#define VERSION_AS_NUMBER 1,4,5
#endif

#ifdef FLUTTER_BUILD_NAME
#define VERSION_AS_STRING #FLUTTER_BUILD_NAME
#else
#define VERSION_AS_STRING "1.4.4"
#define VERSION_AS_STRING "1.4.5"
#endif

VS_VERSION_INFO VERSIONINFO
Expand Down

0 comments on commit dc95916

Please sign in to comment.