Coder Social home page Coder Social logo

erosanix's People

Contributors

brianicke avatar emmanuelrosa avatar nikp123 avatar niols avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

erosanix's Issues

mkWindowsApp - fileMap only works if the base name of both components is the same

In some cases, fileMap only works if the base name of both components is the same. For instance, if the map looks like:

fileMap = {
  "$HOME/.config/A" = "drive_c/users/$USER/AppData/Roaming/B";
};

and B is a directory, then loading A into the temporary Wine directory B works fine (and, the very first time, does nothing). However, persisting B into A does not work and the files will be persisted to $HOME/.config/B instead. The culprit is the function persist_file:

persist_file () {
local s="$WINEPREFIX/$1"
local d="$2"
local base_dir=$(dirname "$d")
echo "Persisting $s to $d"
mkdir -p "$base_dir"
if [ -f "$s" ]
then
cp -v -n "$s" "$d"
fi
if [ -d "$s" ]
then
cp -v -r -n "$s" "$base_dir"
fi
}

When the source $s is a directory (line 202), then we run cp -v -r -n "$s" "$base_dir", where base_dir=$(dirname "$d"). In the example:

$s == "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/B"
$d == "$HOME/.config/A"
$base_dir == "$HOME/.config/"

so we run:

cp -v -r -n "$WINEPREFIX/drive_c/users/$USER/AppData/Roaming/B" "$HOME/.config/"

which indeed creates $HOME/.config/B instead of $HOME/.config/A.

A mitigation is of course to ensure A == B, and this is what I use for now.

Thank you for this app, by the way โ€” it's amazing!

foobar2000 2.0

I have a package for foobar2000 2.0, which is currently in beta. I'm waiting for it to get out of beta because I don't want to maintain 2 foobar2000 packages.

mkWindowsApp - fileMapDuringAppInstall does not work

The fileMapDuringAppInstall attribute is supposed to mount the fileMap during the app install phase, but it doesn't work properly because file mapping never applies when the source and destination don't exist, which is the use-case for fileMapDuringAppInstall.

In the mean time, don't use the attribute.

roblox - mangohud support stopped working

Recently mangohud stopped working.

Vulkan and mangohud functionality is now incorporated in mkWindowsApp, and it works fine for Sable but for some reason mangohud doesn't execute at all for Roblox.

Line not working

Hi, first of all, thanks for this very cool repo. I'm still learning nix and I'm trying to install line on my nixos.

I'm having the following error:

$ nix run github:emmanuelrosa/erosanix#line
error: hash mismatch in fixed-output derivation '/nix/store/xw79w356gwfchyrxwxdf71djlcw64v09-LineInst.exe.drv':
         specified: sha256-OZVWkgRA3idGY2lvgOhBqm2eHzJNZFBDxuZNZJZTMDc=
            got:    sha256-3dluIkOincyogSu89+L5O3oC6U6h/FUJPale+JhJtBw=
error: 1 dependencies of derivation '/nix/store/nfi8rlvpa2msiqr3406cy9r10p1swgrk-line-8.7.0.3302.drv' failed to build

I have no clue on how I could fix this, I did try to override the sha256 of the line exe file with but with no succes.

Any help would be really appreciated.
Thanks!

sierrachart: Failed to get the function address for scsf_WaveTrendIndicator in C:\SierraChart\Data\SierraChartStudies.dll

Opening the studies window shows this error in the log

Failed to get the function address for scsf_WaveTrendIndicator in C:\SierraChart\Data\SierraChartStudies.dll. Error: Windows error code 127: Procedure not found. | 2022-08-25 19:32:04.771 *

I think the problem is that during the first run of the sierrachart script the study DLLs from that version of Sierra Chart are copied to a user-specific directory. I did that because the Data directory is meant for volitale files. However, it seems that those DLLs are sometimes updated with new functions. In that case, the current script will not install those updated DLLs.

This means I will need to handle this special case differently so that the upstream study DLLs are always used. I don't want to loose the ability for seamless rollbacks.

darwin?

I haven't dived into this but could this work eventually for mkWindowsApp function on darwin?

protonvpn module is broken

I re-wrote the protonvpn module to use wireguard instead of OpenVPN, but it's currently broken. Restarting wireguard-protonvpn.service gets it going, but it should just work the first time.

roblox - needs support for auto-updates

The roblox installer and launcher are self-updating; Any attempt to run an old version will cause the update to be downloaded and installed.

It's possible to detect which Roblox version is the current one using data from the registry, but thus far I've been unable to get the regsitry query to work in a script; It works fine in an interactive session.

packaging sierrachart studies no longer works (for compiled studies)

The Nix packaging works, but sierrachart is unable to load the DLL compiled on NixOS.

x.dll loading error. Windows error code 126: Module not found. | 2023-07-28 18:19:40.726
InternalVersionNumberToFileNameMap is empty for x | 2023-07-28 18:19:40.726
Closest match search for: C:\SierraChart\Data\x.dll returned empty result. | 2023-07-28 18:19:40.726 *
Loading DLL: C:\SierraChart\Data\UserContributedStudies.dll (UserContributedStudies_64.dll). Handle: 8780000 | 2023-07-28 18:19:40.739

I'm assuming there's some mingw-related DLL that's missing, but I don't know what it could be. I forgot how I figured out the mcfthreads problem the last time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.