feat: saving files and folders when updating modpaks
This commit is contained in:
@ -23,6 +23,13 @@ const launchOptions = {
|
||||
baseVersion: '1.21.4',
|
||||
serverIp: 'popa-popa.ru',
|
||||
fabricVersion: 'fabric0.16.14',
|
||||
preserveFiles: [
|
||||
'options.txt',
|
||||
'screenshots',
|
||||
'schematics',
|
||||
'syncmatics',
|
||||
'saves',
|
||||
],
|
||||
};
|
||||
|
||||
const AuthCheck = ({ children }: { children: ReactNode }) => {
|
||||
|
@ -33,6 +33,7 @@ interface LaunchPageProps {
|
||||
baseVersion: string;
|
||||
serverIp: string;
|
||||
fabricVersion: string;
|
||||
preserveFiles: string[];
|
||||
};
|
||||
}
|
||||
|
||||
@ -115,6 +116,7 @@ const LaunchPage = ({ launchOptions }: LaunchPageProps) => {
|
||||
apiReleaseUrl: launchOptions.apiReleaseUrl,
|
||||
versionFileName: launchOptions.versionFileName,
|
||||
packName: launchOptions.packName,
|
||||
preserveFiles: launchOptions.preserveFiles,
|
||||
};
|
||||
|
||||
// Передаем опции для скачивания
|
||||
|
Reference in New Issue
Block a user