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
$files_en = @{} | |
Get-ChildItem '.' -Directory | ForEach-Object { | |
$folder = $_ | |
if (!$folder.Name.StartsWith('values') -or $folder.Name.EndsWith('dp')) { return } | |
$isEN = ($folder.Name -eq "values") | |
Write-Output $folder.Name | |
Get-ChildItem $folder -File | ForEach-Object { | |
$file = $_ |
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
Get-ChildItem '.' -Directory | ForEach-Object { | |
$folder = $_ | |
if (!$folder.Name.StartsWith('values') -or $folder.Name.EndsWith('dp')) { return } | |
$isEN = ($folder.Name -eq "values") | |
Write-Output $folder.Name | |
Get-ChildItem $folder -File | ForEach-Object { | |
$file = $_ | |
$fileName = $file.BaseName |
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
Get-ChildItem -Directory -Path '[Path to Hentoid Library root]\[source folder]\' | ForEach-Object { $name = "[Output path]\$(Split-Path -Leaf $_).zip"; if(-not(Test-Path -Path $([Management.Automation.WildcardPattern]::Escape($name)))) {& 'C:\Program Files\7-Zip\7z.exe' a "$name" "$_\*" -mmt=on} } |
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
class ObjectBoxPredeterminedDataSource<T> extends PositionalDataSource<T> { | |
private final Function<List<Long>, List<T>> fetcher; | |
private final long[] ids; | |
private final DataObserver<List<T>> observer; | |
private ObjectBoxPredeterminedDataSource(Function<List<Long>, List<T>> fetcher, long[] ids) { | |
this.fetcher = fetcher; | |
this.ids = ids; | |
this.observer = data -> ObjectBoxPredeterminedDataSource.this.invalidate(); | |
} |
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
#Enter The Master Porn Folder Here , Must Have Proper Json Information , the whole shit is about having the right jsons | |
$SortMasterFolder = $PSScriptRoot + "\Dataset" | |
$OutputMasterFolder = $PSScriptRoot + "\OutDataset" | |
$PSDefaultParameterValues['*:Encoding'] = 'utf8' | |
function CopyFilesToFolder ($fromFolder, $toFolder) { | |
$childItems = Get-ChildItem -LiteralPath $fromFolder | |
$childItems | ForEach-Object { |
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
ONLY NON-REGRESSION FIXES AND IMPROVEMENTS | |
New: Downloads pausing and resuming | |
New: Revamped download queue screen with priority management (up / down buttons) | |
New: Personal data privacy statement in about screen | |
New: Slide page number to skip pages in paged view | |
New Setting: Configure number of concurrent download threads | |
Changed: search bar no longer resets after hiding; pager not hidden when changing pages with next/previous buttons | |
Experimental: default app dir is now ".Hentoid" to hide from gallery apps (new installs only; nothing will change for existing users) | |
Fixed: Endless reloading on ASMHentai and Pururin webviews |
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
a |