-
Notifications
You must be signed in to change notification settings - Fork 152
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 #68 from triwinds/dev
PR for 0.4.1
- Loading branch information
Showing
26 changed files
with
906 additions
and
141 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
from config import config | ||
from api.common_response import * | ||
|
||
|
||
@generic_api | ||
def get_users_in_save(): | ||
from module.save_manager import get_users_in_save | ||
return get_users_in_save() | ||
|
||
|
||
@generic_api | ||
def list_all_games_by_user_folder(folder: str): | ||
from module.save_manager import list_all_games_by_user_folder | ||
return list_all_games_by_user_folder(folder) | ||
|
||
|
||
@generic_api | ||
def ask_and_update_yuzu_save_backup_folder(): | ||
from module.save_manager import ask_and_update_yuzu_save_backup_folder | ||
return ask_and_update_yuzu_save_backup_folder() | ||
|
||
|
||
@generic_api | ||
def backup_yuzu_save_folder(folder: str): | ||
from module.save_manager import backup_folder | ||
return backup_folder(folder) | ||
|
||
|
||
@generic_api | ||
def open_yuzu_save_backup_folder(): | ||
from module.save_manager import open_yuzu_save_backup_folder | ||
return open_yuzu_save_backup_folder() | ||
|
||
|
||
@generic_api | ||
def list_all_yuzu_backups(): | ||
from module.save_manager import list_all_yuzu_backups | ||
return list_all_yuzu_backups() | ||
|
||
|
||
@generic_api | ||
def restore_yuzu_save_from_backup(user_folder_name: str, backup_path: str): | ||
from module.save_manager import restore_yuzu_save_from_backup | ||
return restore_yuzu_save_from_backup(user_folder_name, backup_path) |
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
Oops, something went wrong.