Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Control over the Installation Directory on Linux #256

Open
cimpeco opened this issue Oct 11, 2024 · 0 comments
Open

More Control over the Installation Directory on Linux #256

cimpeco opened this issue Oct 11, 2024 · 0 comments

Comments

@cimpeco
Copy link

cimpeco commented Oct 11, 2024

Hello,
Let me say before anything else that I have only dug into this repository for just today (Oct. 11, 2024) and could easily be missing something obvious. Neither am I a developer in this repository: you repository owners know your solution better than I do.

What I am looking for is a way to decide where my executable gets installed in the filesystem. There are ways to control the installation path for additional files:

  <ItemGroup Condition="'$(Configuration)' == 'Release' And '$(RuntimeIdentifier)' == 'linux-x64'">
    <Content Include="./boo" CopyToPublishDirectory="PreserveNewest" LinuxFileMode="1755">
      <LinuxPath>/usr/share/Daktronics/$(AssemblyName)</LinuxPath>
    </Content>
  </ItemGroup>

But I am uncertain if there is a way (as of today) to control where the executable for a file gets installed. From using the command-line tool only, it seems as though it only has support for installing the executable in the /usr/share/<app-name> directory. I am using this solution specifically to generate a *.deb installation bundle, but it seems to be a problem specific to the Linux filesystem in general.

I have also noticed several other comments along a similar line of thinking that are either unresolved or have no real answer to this question:
#185
#183
#163

If support for this kind of control does exist, it would be great to have a section in the README explaining for beginner users how to utilize it. Otherwise, if it doesn't exist, it sounds like it would be greatly appreciated. Any help or action on this would be greatly appreciated, by myself and others as well.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant