Fixed some stuff
This commit is contained in:
parent
0cb21eb58c
commit
f7cc47cc6c
|
@ -0,0 +1,26 @@
|
||||||
|
@page "/ExtensionPage/{Extension}/{PageName}"
|
||||||
|
@using Timelapse.Api;
|
||||||
|
@inject NavigationManager Nav;
|
||||||
|
@dynamicComponent()
|
||||||
|
|
||||||
|
@functions{
|
||||||
|
RenderFragment dynamicComponent() => builder =>
|
||||||
|
{
|
||||||
|
builder.OpenComponent(0, FindType());
|
||||||
|
|
||||||
|
builder.CloseComponent();
|
||||||
|
};
|
||||||
|
[Parameter]
|
||||||
|
public string Extension {get;set;}
|
||||||
|
[Parameter]
|
||||||
|
public string PageName {get;set;}
|
||||||
|
Type FindType()
|
||||||
|
{
|
||||||
|
string url = $"/ExtensionPage/{Extension}/{PageName}";
|
||||||
|
if(Timelapse.Api.Extensions.Components.ContainsKey(url))
|
||||||
|
{
|
||||||
|
return Timelapse.Api.Extensions.Components[url];
|
||||||
|
}
|
||||||
|
return typeof(NoneFound);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
<h1>
|
||||||
|
No Blazor page Found
|
||||||
|
</h1>
|
|
@ -0,0 +1,13 @@
|
||||||
|
|
||||||
|
electronize build /target custom "win-x86;win" /electron-arch ia32 /p:PublishReadyToRun=false
|
||||||
|
electronize build /target custom "win-x64;win" /electron-arch x64 /p:PublishReadyToRun=false
|
||||||
|
|
||||||
|
electronize build /target custom "win10-x86;win" /electron-arch ia32 /p:PublishReadyToRun=false
|
||||||
|
electronize build /target custom "win10-x64;win" /electron-arch x64 /p:PublishReadyToRun=true
|
||||||
|
electronize build /target custom "win-arm;win" /electron-arch armv7l /p:PublishReadyToRun=false
|
||||||
|
electronize build /target custom "win10-arm;win" /electron-arch armv7l /p:PublishReadyToRun=false
|
||||||
|
electronize build /target custom "win10-arm64;win" /electron-arch arm64 /p:PublishReadyToRun=true
|
||||||
|
|
||||||
|
electronize build /target custom "linux-x64;linux" /electron-arch x64
|
||||||
|
electronize build /target custom "linux-arm;linux" /electron-arch armv7l
|
||||||
|
electronize build /target custom "linux-arm64;linux" /electron-arch arm64
|
|
@ -0,0 +1,11 @@
|
||||||
|
export ARCHITECTURE=amd64
|
||||||
|
cd Timelapse
|
||||||
|
rm -rf ../deb/usr/share/TimelapseNow/bin/
|
||||||
|
cp -r bin/Desktop/linux-unpacked/ ../deb/usr/share/TimelapseNow/bin/
|
||||||
|
echo "Package: timelapsenow" > ../deb/DEBIAN/control
|
||||||
|
echo "Version: 1.0.0" >> ../deb/DEBIAN/control
|
||||||
|
echo "Architecture: $ARCHITECTURE" >> ../deb/DEBIAN/control
|
||||||
|
echo "Maintainer: Michael Nolan <tesses50@tesses.cf>" >> ../deb/DEBIAN/control
|
||||||
|
echo "Description: Record In Steps" >> ../deb/DEBIAN/control
|
||||||
|
dpkg-deb --build --root-owner-group ../deb
|
||||||
|
mv ../deb.deb ../timelapsenow_1.0.0_$ARCHITECTURE.deb
|
Loading…
Reference in New Issue