Jump to content
Ketarin forum

Ketarin 1.8.10 beta 2


Recommended Posts

Changes in Beta 1:

+Allow forced evaluation of custom columns by prefixing the name with "!"
+When accessing an FTP directory (path ending with /) list directory contents
+New option: Default user agent. Replaced all previous default user agents with a new one.

Changes in Beta 2:

+Added "clear log" feature in log window
+Allow non-binary downloads (text/html)
*Now requires .NET 4.5.2 (instead of 4.5)

 

Ketarin-1.8.10.1.zip

Edited by floele
Link to post
Share on other sites
  • 2 months later...

Looks like something has changed with this beta, for example this powershell script does not work anymore (worked fine on previous versions):

 

$PortableAppsPath = [System.Environment]::ExpandEnvironmentVariables($GlobalVars.item('portable').cachedcontent)
$WShell = New-Object -ComObject WScript.Shell
$Executables = (Get-ChildItem (Join-Path $PortableAppsPath $App.Name) -Filter '*.exe' -Recurse)
if ($Executables.Count -gt 1) {
	$ShortCutPath = (Join-Path $([System.Environment]::ExpandEnvironmentVariables($GlobalVars.item('shortcuts').cachedcontent)) $App.Name)
	if (-Not(Test-Path $ShortCutPath -PathType Container)) {
		New-Item $ShortCutPath -ItemType Directory -Force
	}
} else {
	$ShortCutPath = [System.Environment]::ExpandEnvironmentVariables($GlobalVars.item('shortcuts').cachedcontent)
}
foreach ($Executable in $Executables) {
	$ShortCut = $WShell.CreateShortcut("$ShortCutPath\$($Executable.BaseName).lnk")
	$Shortcut.TargetPath = $Executable.FullName
	$Shortcut.WorkingDirectory = (Join-Path $PortableAppsPath $App.Name)
	$Shortcut.IconLocation = $Executable.FullName
	$Shortcut.Save()
}

It does not give any meaningful error either, simply throws: Script can not be executed. Value does not fall into expected range.

Link to post
Share on other sites

@Etz

What errors does Ketarin log show?

Tried the script with slight modifications, to account for assumption not met by my system, without issue.
Functional modifications : Finds executables in current app dir, rather than dir specified in "portable".
Tested as an app\job specific script, not global.


Global variable shortcuts = C:\

$PortableAppsPath = (Get-Item $app.CurrentLocation).DirectoryName
$WShell = New-Object -ComObject WScript.Shell
$Executables = Get-ChildItem (Get-Item $app.CurrentLocation).DirectoryName -Filter '*.exe' -Recurse
if ($Executables.Count -gt 1) {
    $ShortCutPath = Join-Path $globalvars.'shortcuts'.CachedContent $app.Name
    if (-Not(Test-Path $ShortCutPath -PathType Container)) {
        New-Item $ShortCutPath -ItemType Directory -Force
    }
} else {
    $ShortCutPath = Join-Path $globalvars.'shortcuts'.CachedContent $app.Name
}
foreach ($Executable in $Executables) {
    $ShortCut = $WShell.CreateShortcut("$ShortCutPath\$($Executable.BaseName).lnk")
    $Shortcut.TargetPath = $Executable.FullName
    $Shortcut.WorkingDirectory = (Join-Path $PortableAppsPath $App.Name)
    $Shortcut.IconLocation = $Executable.FullName
    $Shortcut.Save()
}

 

Link to post
Share on other sites

@Ambimind Log does not show any errors, it just refused to run by throwing popup message: Script can not be executed. Value does not fall into expected range.

@floele nevermind, looks like it was some kind of temporary issue, started to work by itself again. Probably something got screwed on my system.

Link to post
Share on other sites
  • 3 months later...
  • floele unpinned this topic
  • 3 months later...

Looks like something changed on Filehippo as all downloads from there started to suddenly fail:

Steam    FileHippo ID 'steam' does not exist.
Origin    FileHippo ID 'origin' does not exist.
Acrylic Wi-Fi Home    FileHippo ID 'acrylic-wifi-home' does not exist.
Audacity    FileHippo ID 'audacity' does not exist.
WinSCP    FileHippo ID 'winscp' does not exist.


 

Link to post
Share on other sites
  • floele unfeatured this topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.