File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1- FROM --platform=linux/arm/v8 ubuntu:22.04
1+ FROM ubuntu:22.04
22
33RUN apt-get update \
44 && apt-get install -y --no-install-recommends \
Original file line number Diff line number Diff line change 1- FROM --platform=linux/amd64 ubuntu:22.04
1+ FROM ubuntu:22.04
22
33RUN apt-get update \
44 && apt-get install -y --no-install-recommends \
Original file line number Diff line number Diff line change 55 <AssemblyName >seqcli</AssemblyName >
66 <ApplicationIcon >..\..\asset\SeqCli.ico</ApplicationIcon >
77 <RuntimeIdentifiers >win-x64;linux-x64;linux-musl-x64;osx-x64;linux-arm64;linux-musl-arm64;osx-arm64</RuntimeIdentifiers >
8+ <PublishSingleFile >true</PublishSingleFile >
9+ <SelfContained >true</SelfContained >
810 <GenerateAssemblyInformationalVersionAttribute >True</GenerateAssemblyInformationalVersionAttribute >
911 <TreatWarningsAsErrors >True</TreatWarningsAsErrors >
1012 <TreatSpecificWarningsAsErrors />
Original file line number Diff line number Diff line change 1- using System . IO ;
1+ using System ;
2+ using System . IO ;
23
34namespace SeqCli . Util ;
45
56static class Content
67{
78 public static string GetPath ( string relativePath )
89 {
9- var thisDir = Path . GetDirectoryName ( Path . GetFullPath ( typeof ( Content ) . Assembly . Location ) ) ?? "." ;
10+ var thisDir = Path . GetDirectoryName ( Path . GetFullPath ( AppContext . BaseDirectory ) ) ?? "." ;
1011 return Path . Combine ( thisDir , relativePath ) ;
1112 }
1213}
You can’t perform that action at this time.
0 commit comments