Skip to content

Commit

Permalink
map hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaribsin committed Apr 16, 2024
1 parent 96e31c2 commit 226addb
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 27 deletions.
26 changes: 5 additions & 21 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,12 @@
{
"map": {
"version": "2.2.0",
"versionName": "Drehmal 2.2 Apotheosis Beta 1.3.2",
"compressedSizeInBytes": 4294261140,
"uncompressedSizeInBytes": 6358455781,
"hash": "5f26107ab938e28b4828826846da7e35a8fba74ca01182ab8a1f24c430a87488",
"shards": [
"https://5b92a8a6-6d33-4119-8522-53f0f5e49ea3.usrfiles.com/archives/5b92a8_589c4633af96478c8933954a61c86407.zip",
"https://5b92a8a6-6d33-4119-8522-53f0f5e49ea3.usrfiles.com/archives/5b92a8_7fd2f832cdfc412f99583f7b270628e6.zip",
"https://5b92a8a6-6d33-4119-8522-53f0f5e49ea3.usrfiles.com/archives/5b92a8_4b9ead4ad8194154b8a33e703e2bef6b.zip",
"https://5b92a8a6-6d33-4119-8522-53f0f5e49ea3.usrfiles.com/archives/5b92a8_2cc77e3507f4411b81766c829c17bcfb.zip",
"https://5b92a8a6-6d33-4119-8522-53f0f5e49ea3.usrfiles.com/archives/5b92a8_d81dcff846d546a9b20c7e7c07986cc9.zip",
"https://5b92a8a6-6d33-4119-8522-53f0f5e49ea3.usrfiles.com/archives/5b92a8_9098aeb273ee4607b8dc4e35d6f1a1a8.zip",
"https://5b92a8a6-6d33-4119-8522-53f0f5e49ea3.usrfiles.com/archives/5b92a8_97fd18d63bb94a009cea85f22f3c4eb5.zip",
"https://5b92a8a6-6d33-4119-8522-53f0f5e49ea3.usrfiles.com/archives/5b92a8_733d29b7e69646cfa9585aff77d84e0b.zip",
"https://5b92a8a6-6d33-4119-8522-53f0f5e49ea3.usrfiles.com/archives/5b92a8_04d5dc10c3134dc0b429586c86b3e59f.zip",
"https://5b92a8a6-6d33-4119-8522-53f0f5e49ea3.usrfiles.com/archives/5b92a8_cc10ca5809284d4db0115e6331f6fab8.zip",
"https://5b92a8a6-6d33-4119-8522-53f0f5e49ea3.usrfiles.com/archives/5b92a8_5ec26a97825549c4a49d9b09353a643c.zip",
"https://5b92a8a6-6d33-4119-8522-53f0f5e49ea3.usrfiles.com/archives/5b92a8_95411db10bac44c18f317a8ead471966.zip",
"https://5b92a8a6-6d33-4119-8522-53f0f5e49ea3.usrfiles.com/archives/5b92a8_d7fd0c8f983a4f00b89deb6cb5f75794.zip"
]
"versionName": "Drehmal: APOTHEOSIS",
"compressedSizeInBytes": 4305446839,
"uncompressedSizeInBytes": 6358552801,
"hash": "b03d3e38047df58e514a9580793dbf626ef5d7938564063f02b3eec559511748"
},
"resourcePack": {
"version": "1.3.2",
"source": "https://5b92a8a6-6d33-4119-8522-53f0f5e49ea3.usrfiles.com/archives/5b92a8_71a9cc8afeab42ceb7b8ce4ddab00c5d.zip"
"version": "2.2.0"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "drehmal-installer",
"version": "1.0.1",
"version": "1.0.2",
"description": "Drehmal, Minecraft map installer",
"productName": "Drehmal Installer",
"author": "Primordial Team",
Expand Down
2 changes: 1 addition & 1 deletion scripts/split.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ def split_directory(path, max_size, output_path):
print(f'Removed directory: {current_dir}')

# Usage
split_directory('./map', 500*1024*1024, './parts')
split_directory('./map', 2500*1024*1024, './parts')
3 changes: 2 additions & 1 deletion src/providers/DownloadFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function downloadFile(
// User-Agent: github_username/project_name/1.56.0 (launcher.com)
const options = {
headers: {
'User-Agent': 'Drehmal-Team/installer/1.0.1 (drehmal.net)',
'User-Agent': 'Drehmal-Team/installer/1.0.2 (drehmal.net)',
// 'accept-encoding': 'gzip, deflate, br',
},
};
Expand Down Expand Up @@ -78,6 +78,7 @@ export function downloadFile(
})
.on('error', (err: any) => {
console.error(`download error on ${name} ${url}`, err);
console.error(JSON.stringify(err));
})
.on('timeout', () => {
console.error(`got timeout event for ${url}`);
Expand Down
6 changes: 3 additions & 3 deletions src/stores/SourcesStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ export const useSourcesStore = defineStore('sources', () => {
const map = ref({
version: '2.2.0',
versionName: 'Drehmal: APOTHEOSIS',
compressedSizeInBytes: 4305722304,
uncompressedSizeInBytes: 6358455781,
hash: '60a90f8fb06ae38ecec08d456d4dc08295338acf5a7859fd7597ef9490195185',
compressedSizeInBytes: 4305446839,
uncompressedSizeInBytes: 6358552801,
hash: 'b03d3e38047df58e514a9580793dbf626ef5d7938564063f02b3eec559511748',
shards: [
'https://github.com/Drehmal-Team/map/releases/download/v2.2.0/shard_1.zip', // 1
'https://github.com/Drehmal-Team/map/releases/download/v2.2.0/shard_2.zip', // 2
Expand Down

0 comments on commit 226addb

Please sign in to comment.