Botspot / pi-apps

Raspberry Pi App Store for Open Source Projects
GNU General Public License v3.0
1.95k stars 204 forks source link

Microsoft Powershell #1392

Closed SebAndBlocks closed 2 years ago

SebAndBlocks commented 2 years ago

What is the name of the app?

Microsoft Powershell

(Optional) Where is the app hosted?

Microsoft.com

About the app

To Deliver a terminal with easy tools that are usually already known.

Upload file

Microsoft Powershell.zip

Confirmations

Crilum commented 2 years ago

First, the app folder is just named Microsoft, and that is misleading to users..

Second, the app doesn't install:

    πŸ­Šβ–…β–…β–…β–…πŸ¬Ώ
 πŸ­ˆβ–‚β–‚β–ˆβ–‚β–‚β–‚β–‚β–ˆβ–‚β–‚πŸ¬½
 β–Œ  β–—β––β–—β––β–—β––  ▐   β–ˆβ–€β–€πŸ­ β–„
 β–Œ  β–—β––β–—β––β–—β––  ▐   β–ˆβ–„β–„πŸ­ž β–„ β–„β–„ πŸ­‚β–€β–€β–ˆ β–ˆβ–€β–€πŸ­ β–ˆβ–€β–€πŸ­ πŸ­‚πŸ¬°πŸ¬°πŸ¬°
 β–Œ  β–—β––β–—β––β–—β––  ▐   β–ˆ    β–ˆ    πŸ­“β–„β–„β–ˆ β–ˆβ–„β–„πŸ­ž β–ˆβ–„β–„πŸ­ž β–„β–„β–„πŸ­ž
 πŸ­“πŸ¬­πŸ¬­πŸ¬°πŸ¬°πŸ¬°πŸ¬°πŸ¬°πŸ¬°πŸ¬­πŸ¬­πŸ­ž                  β–ˆ    β–ˆ

diff: /home/pi/pi-apps/update/pi-apps/apps/Microsoft/install: No such file or directory
Installing Microsoft...

Reading package lists...
Building dependency tree...
Reading state information...
libunwind8 is already the newest version (1.3.2-2).
libunwind8 set to manually installed.
The following NEW packages will be installed:
  libssl1.0.2
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 893 kB of archives.
After this operation, 2,463 kB of additional disk space will be used.
Get:1 http://mirrors.syringanetworks.net/raspbian/raspbian bullseye/main armhf libssl1.0.2 armhf 1.0.2q-2 [893 kB]
Preconfiguring packages ...
Fetched 893 kB in 3s (276 kB/s)
                               Selecting previously unselected package libssl1.0.2:armhf.
(Reading database ... 336222 files and directories currently installed.)
Preparing to unpack .../libssl1.0.2_1.0.2q-2_armhf.deb ...
Unpacking libssl1.0.2:armhf (1.0.2q-2) ...
Setting up libssl1.0.2:armhf (1.0.2q-2) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) ...
Downloading powershell-7.2.1-linux-arm32.tar.gz... 
54MiB/63MiB β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
Done
./
./System.Reflection.Metadata.dll
./Microsoft.ApplicationInsights.ni.r2rmap
./System.Net.Security.dll
./Microsoft.PowerShell.SDK.xml
./System.IO.FileSystem.dll
./System.Collections.NonGeneric.dll
./System.Runtime.Serialization.Json.dll
./System.Net.Http.dll
./pwsh
./System.Diagnostics.Debug.dll
./Microsoft.VisualBasic.dll
./Markdig.Signed.ni.r2rmap
./System.Runtime.Extensions.dll
./System.Diagnostics.Tracing.dll
./System.dll
./System.Net.WebHeaderCollection.dll
./System.Security.Cryptography.Primitives.dll
./Microsoft.Win32.SystemEvents.dll
./System.ServiceModel.Web.dll
./System.Xml.XDocument.dll
./libcoreclrtraceptprovider.so
./System.DirectoryServices.Protocols.dll
./System.Threading.Thread.dll
./System.IO.FileSystem.Primitives.dll
./System.ServiceModel.Security.dll
./System.Management.Automation.ni.r2rmap
./System.Net.NetworkInformation.dll
./System.Net.Http.WinHttpHandler.dll
./System.Net.Ping.dll
./Microsoft.PowerShell.Security.dll
./System.Private.ServiceModel.ni.r2rmap
./System.Runtime.CompilerServices.VisualC.dll
./createdump
./System.DirectoryServices.ni.r2rmap
./System.Data.Odbc.dll
./System.Speech.ni.r2rmap
./System.Threading.dll
./System.ServiceModel.NetTcp.dll
./System.Net.Sockets.dll
./System.CodeDom.ni.r2rmap
./System.ValueTuple.dll
./System.Security.Cryptography.Pkcs.dll
./tr/
./tr/Microsoft.CodeAnalysis.resources.dll
./tr/System.Web.Services.Description.resources.dll
./tr/Microsoft.CodeAnalysis.CSharp.resources.dll
./tr/System.Private.ServiceModel.resources.dll
./System.Data.DataSetExtensions.dll
./LICENSE.txt
./en-US/
./en-US/default.help.txt
./System.ComponentModel.Composition.ni.r2rmap
./System.IO.Compression.ZipFile.dll
./System.ComponentModel.Composition.Registration.ni.r2rmap
./System.Net.ServicePoint.dll
./Microsoft.PowerShell.MarkdownRender.ni.r2rmap
./System.IO.Compression.dll
./System.Diagnostics.TraceSource.dll
./System.Configuration.dll
./System.Runtime.dll
./Microsoft.Management.Infrastructure.dll
./System.Net.WebSockets.Client.dll
./System.Memory.dll
./Microsoft.CodeAnalysis.CSharp.ni.r2rmap
./System.CodeDom.dll
./System.Reflection.Emit.ILGeneration.dll
./System.Security.Cryptography.Cng.dll
./System.IO.FileSystem.DriveInfo.dll
./System.Runtime.InteropServices.RuntimeInformation.dll
./System.Security.Cryptography.Algorithms.dll
./System.Runtime.Loader.dll
./zh-Hans/
./zh-Hans/Microsoft.CodeAnalysis.resources.dll
./zh-Hans/System.Web.Services.Description.resources.dll
./zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll
./zh-Hans/System.Private.ServiceModel.resources.dll
./libmscordaccore.so
./System.Net.NameResolution.dll
./Namotion.Reflection.dll
./System.Text.RegularExpressions.dll
./Microsoft.PowerShell.Security.xml
./ko/
./ko/Microsoft.CodeAnalysis.resources.dll
./ko/System.Web.Services.Description.resources.dll
./ko/Microsoft.CodeAnalysis.CSharp.resources.dll
./ko/System.Private.ServiceModel.resources.dll
./System.Core.dll
./System.Net.dll
./System.DirectoryServices.AccountManagement.ni.r2rmap
./System.Windows.dll
./Microsoft.PowerShell.Commands.Management.xml
./Newtonsoft.Json.dll
./System.Reflection.dll
./System.Resources.Writer.dll
./System.ServiceModel.Duplex.dll
./System.Collections.Specialized.dll
./System.Threading.Tasks.Parallel.dll
./libSystem.Security.Cryptography.Native.OpenSsl.so
./System.Console.dll
./System.ComponentModel.dll
./System.Drawing.Common.dll
./System.Security.dll
./System.Diagnostics.DiagnosticSource.dll
./System.Security.Cryptography.Csp.dll
./Markdig.Signed.dll
./System.Net.Http.WinHttpHandler.ni.r2rmap
./System.Security.Claims.dll
./System.IO.Ports.dll
./System.IO.UnmanagedMemoryStream.dll
./System.Threading.ThreadPool.dll
./Microsoft.PowerShell.SDK.dll
./System.Net.WebSockets.dll
./Microsoft.PowerShell.ConsoleHost.dll
./System.Web.HttpUtility.dll
./Microsoft.PowerShell.Commands.Utility.xml
./Microsoft.PowerShell.Commands.Management.dll
./System.ComponentModel.Composition.Registration.dll
./libSystem.Net.Security.Native.so
./libcoreclr.so
./Microsoft.Win32.SystemEvents.ni.r2rmap
./Modules/
./Modules/Microsoft.PowerShell.Host/
./Modules/Microsoft.PowerShell.Host/Microsoft.PowerShell.Host.psd1
./Modules/PSReadLine/
./Modules/PSReadLine/Changes.txt
./Modules/PSReadLine/PSReadLine.psd1
./Modules/PSReadLine/License.txt
./Modules/PSReadLine/PSReadLine.format.ps1xml
./Modules/PSReadLine/PSReadLine.cat
./Modules/PSReadLine/SamplePSReadLineProfile.ps1
./Modules/PSReadLine/PSReadLine.psm1
./Modules/PSReadLine/Microsoft.PowerShell.PSReadLine2.dll
./Modules/ThreadJob/
./Modules/ThreadJob/ThreadJob.psd1
./Modules/ThreadJob/Microsoft.PowerShell.ThreadJob.dll
./Modules/Microsoft.PowerShell.Utility/
./Modules/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1
./Modules/Microsoft.PowerShell.Archive/
./Modules/Microsoft.PowerShell.Archive/en-US/
./Modules/Microsoft.PowerShell.Archive/en-US/ArchiveResources.psd1
./Modules/Microsoft.PowerShell.Archive/Microsoft.PowerShell.Archive.psd1
./Modules/Microsoft.PowerShell.Archive/Microsoft.PowerShell.Archive.cat
./Modules/Microsoft.PowerShell.Archive/Microsoft.PowerShell.Archive.psm1
./Modules/Microsoft.PowerShell.Security/
./Modules/Microsoft.PowerShell.Security/Microsoft.PowerShell.Security.psd1
./Modules/PackageManagement/
./Modules/PackageManagement/coreclr/
./Modules/PackageManagement/coreclr/netstandard2.0/
./Modules/PackageManagement/coreclr/netstandard2.0/Microsoft.PackageManagement.dll
./Modules/PackageManagement/coreclr/netstandard2.0/Microsoft.PackageManagement.CoreProviders.dll
./Modules/PackageManagement/coreclr/netstandard2.0/Microsoft.PackageManagement.ArchiverProviders.dll
./Modules/PackageManagement/coreclr/netstandard2.0/Microsoft.PowerShell.PackageManagement.dll
./Modules/PackageManagement/coreclr/netstandard2.0/Microsoft.PackageManagement.NuGetProvider.dll
./Modules/PackageManagement/coreclr/netstandard2.0/Microsoft.PackageManagement.MetaProvider.PowerShell.dll
./Modules/PackageManagement/PackageManagement.Resources.psd1
./Modules/PackageManagement/PackageManagement.format.ps1xml
./Modules/PackageManagement/PackageManagement.psm1
./Modules/PackageManagement/PackageProviderFunctions.psm1
./Modules/PackageManagement/PackageManagement.psd1
./Modules/PackageManagement/DSCResources/
./Modules/PackageManagement/DSCResources/PackageManagementDscUtilities.strings.psd1
./Modules/PackageManagement/DSCResources/MSFT_PackageManagement/
./Modules/PackageManagement/DSCResources/MSFT_PackageManagement/MSFT_PackageManagement.schema.mof
./Modules/PackageManagement/DSCResources/MSFT_PackageManagement/MSFT_PackageManagement.psm1
./Modules/PackageManagement/DSCResources/MSFT_PackageManagement/MSFT_PackageManagement.strings.psd1
./Modules/PackageManagement/DSCResources/MSFT_PackageManagement/MSFT_PackageManagement.schema.mfl
./Modules/PackageManagement/DSCResources/PackageManagementDscUtilities.psm1
./Modules/PackageManagement/DSCResources/MSFT_PackageManagementSource/
./Modules/PackageManagement/DSCResources/MSFT_PackageManagementSource/MSFT_PackageManagementSource.schema.mof
./Modules/PackageManagement/DSCResources/MSFT_PackageManagementSource/MSFT_PackageManagementSource.psm1
./Modules/PackageManagement/DSCResources/MSFT_PackageManagementSource/MSFT_PackageManagementSource.strings.psd1
./Modules/PackageManagement/DSCResources/MSFT_PackageManagementSource/MSFT_PackageManagementSource.schema.mfl
./Modules/PowerShellGet/
./Modules/PowerShellGet/en-US/
./Modules/PowerShellGet/en-US/PSGet.Resource.psd1
./Modules/PowerShellGet/Modules/
./Modules/PowerShellGet/Modules/PowerShellGet.LocalizationHelper/
./Modules/PowerShellGet/Modules/PowerShellGet.LocalizationHelper/PowerShellGet.LocalizationHelper.psm1
./Modules/PowerShellGet/Modules/PowerShellGet.ResourceHelper/
./Modules/PowerShellGet/Modules/PowerShellGet.ResourceHelper/en-US/
./Modules/PowerShellGet/Modules/PowerShellGet.ResourceHelper/en-US/PowerShellGet.ResourceHelper.strings.psd1
./Modules/PowerShellGet/Modules/PowerShellGet.ResourceHelper/PowerShellGet.ResourceHelper.psm1
./Modules/PowerShellGet/PowerShellGet.psd1
./Modules/PowerShellGet/PSModule.psm1
./Modules/PowerShellGet/PSGet.Resource.psd1
./Modules/PowerShellGet/PSGet.Format.ps1xml
./Modules/PowerShellGet/DscResources/
./Modules/PowerShellGet/DscResources/MSFT_PSModule/
./Modules/PowerShellGet/DscResources/MSFT_PSModule/en-US/
./Modules/PowerShellGet/DscResources/MSFT_PSModule/en-US/MSFT_PSModule.strings.psd1
./Modules/PowerShellGet/DscResources/MSFT_PSModule/MSFT_PSModule.schema.mof
./Modules/PowerShellGet/DscResources/MSFT_PSModule/MSFT_PSModule.schema.mfl
./Modules/PowerShellGet/DscResources/MSFT_PSModule/MSFT_PSModule.psm1
./Modules/PowerShellGet/DscResources/MSFT_PSRepository/
./Modules/PowerShellGet/DscResources/MSFT_PSRepository/MSFT_PSRepository.schema.mfl
./Modules/PowerShellGet/DscResources/MSFT_PSRepository/en-US/
./Modules/PowerShellGet/DscResources/MSFT_PSRepository/en-US/MSFT_PSRepository.strings.psd1
./Modules/PowerShellGet/DscResources/MSFT_PSRepository/MSFT_PSRepository.psm1
./Modules/PowerShellGet/DscResources/MSFT_PSRepository/MSFT_PSRepository.schema.mof
./Modules/Microsoft.PowerShell.Management/
./Modules/Microsoft.PowerShell.Management/Microsoft.PowerShell.Management.psd1
./System.Reflection.Context.dll
./System.Security.Permissions.dll
./Microsoft.Win32.Registry.AccessControl.dll
./System.Xml.XmlSerializer.dll
./System.Data.OleDb.ni.r2rmap
./System.Management.ni.r2rmap
./NJsonSchema.ni.r2rmap
./pl/
./pl/Microsoft.CodeAnalysis.resources.dll
./pl/System.Web.Services.Description.resources.dll
./pl/Microsoft.CodeAnalysis.CSharp.resources.dll
./pl/System.Private.ServiceModel.resources.dll
./System.IO.dll
./System.Data.SqlClient.ni.r2rmap
./Schemas/
./Schemas/PSMaml/
./Schemas/PSMaml/endUser.xsd
./Schemas/PSMaml/developerManagedConstructor.xsd
./Schemas/PSMaml/inlineCommon.xsd
./Schemas/PSMaml/developerManagedInterface.xsd
./Schemas/PSMaml/Maml.xsd
./Schemas/PSMaml/structureList.xsd
./Schemas/PSMaml/developerManagedDelegate.xsd
./Schemas/PSMaml/developerManagedMethod.xsd
./Schemas/PSMaml/developerManagedEnumeration.xsd
./Schemas/PSMaml/developerManaged.xsd
./Schemas/PSMaml/developerManagedClass.xsd
./Schemas/PSMaml/base.xsd
./Schemas/PSMaml/conditionSet.xsd
./Schemas/PSMaml/structureGlossary.xsd
./Schemas/PSMaml/structureTaskExecution.xsd
./Schemas/PSMaml/developerStructure.xsd
./Schemas/PSMaml/structure.xsd
./Schemas/PSMaml/developerManagedNamespace.xsd
./Schemas/PSMaml/ITPro.xsd
./Schemas/PSMaml/structureTable.xsd
./Schemas/PSMaml/Maml.xsx
./Schemas/PSMaml/blockCommon.xsd
./Schemas/PSMaml/Maml.rld
./Schemas/PSMaml/Maml.tbr
./Schemas/PSMaml/blockSoftware.xsd
./Schemas/PSMaml/structureProcedure.xsd
./Schemas/PSMaml/developerXaml.xsd
./Schemas/PSMaml/inline.xsd
./Schemas/PSMaml/developerReference.xsd
./Schemas/PSMaml/developerCommand.rld
./Schemas/PSMaml/inlineSoftware.xsd
./Schemas/PSMaml/shellExecute.xsd
./Schemas/PSMaml/developerDscResource.xsd
./Schemas/PSMaml/developerCommand.xsd
./Schemas/PSMaml/command.xsd
./Schemas/PSMaml/developerManagedEvent.xsd
./Schemas/PSMaml/developerManagedProperty.xsd
./Schemas/PSMaml/block.xsd
./Schemas/PSMaml/troubleshooting.xsd
./Schemas/PSMaml/ManagedDeveloper.xsd
./Schemas/PSMaml/developer.xsd
./Schemas/PSMaml/task.xsd
./Schemas/PSMaml/Maml_HTML.xsl
./Schemas/PSMaml/ManagedDeveloperStructure.xsd
./Schemas/PSMaml/developerManagedOverload.xsd
./Schemas/PSMaml/Maml_HTML_Style.xsl
./Schemas/PSMaml/ProviderHelp.xsd
./Schemas/PSMaml/developerManagedOperator.xsd
./Schemas/PSMaml/developerManagedStructure.xsd
./Schemas/PSMaml/hierarchy.xsd
./Schemas/PSMaml/developerManagedField.xsd
./Schemas/PSMaml/inlineUi.xsd
./Schemas/PSMaml/baseConditional.xsd
./pwsh.runtimeconfig.json
./System.Security.Cryptography.Xml.dll
./System.Reflection.Extensions.dll
./fr/
./fr/Microsoft.CodeAnalysis.resources.dll
./fr/System.Web.Services.Description.resources.dll
./fr/Microsoft.CodeAnalysis.CSharp.resources.dll
./fr/System.Private.ServiceModel.resources.dll
./System.Web.dll
./System.Diagnostics.FileVersionInfo.dll
./libSystem.IO.Compression.Native.so
./Microsoft.PowerShell.ConsoleHost.xml
./System.Linq.Queryable.dll
./Microsoft.Win32.Registry.AccessControl.ni.r2rmap
./System.Security.Principal.dll
./System.Text.Encoding.dll
./System.ComponentModel.Composition.dll
./System.Threading.Timer.dll
./System.Management.Automation.xml
./System.Private.ServiceModel.dll
./System.Drawing.Common.ni.r2rmap
./System.Reflection.Context.ni.r2rmap
./System.Buffers.dll
./System.ComponentModel.TypeConverter.dll
./System.Reflection.Emit.Lightweight.dll
./System.ServiceProcess.dll
./pt-BR/
./pt-BR/Microsoft.CodeAnalysis.resources.dll
./pt-BR/System.Web.Services.Description.resources.dll
./pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll
./pt-BR/System.Private.ServiceModel.resources.dll
./es/
./es/Microsoft.CodeAnalysis.resources.dll
./es/System.Web.Services.Description.resources.dll
./es/Microsoft.CodeAnalysis.CSharp.resources.dll
./es/System.Private.ServiceModel.resources.dll
./mscorlib.dll
./System.Resources.Reader.dll
./System.DirectoryServices.Protocols.ni.r2rmap
./Microsoft.PowerShell.MarkdownRender.dll
./System.Transactions.dll
./System.Linq.Parallel.dll
./Microsoft.PowerShell.Commands.Utility.dll
./Microsoft.ApplicationInsights.dll
./System.IO.MemoryMappedFiles.dll
./System.Net.Http.Json.dll
./System.Speech.dll
./libpsl-native.so
./System.Diagnostics.EventLog.dll
./System.ServiceModel.dll
./System.Data.Common.dll
./System.Reflection.DispatchProxy.dll
./System.Runtime.Serialization.Formatters.dll
./System.Runtime.CompilerServices.Unsafe.dll
./pwsh.ni.r2rmap
./libclrjit.so
./Microsoft.Win32.Registry.dll
./System.Collections.Immutable.dll
./System.Xml.dll
./System.Diagnostics.Contracts.dll
./it/
./it/Microsoft.CodeAnalysis.resources.dll
./it/System.Web.Services.Description.resources.dll
./it/Microsoft.CodeAnalysis.CSharp.resources.dll
./it/System.Private.ServiceModel.resources.dll
./System.Security.Cryptography.Pkcs.ni.r2rmap
./System.Dynamic.Runtime.dll
./System.Reflection.Emit.dll
./System.IO.Compression.Brotli.dll
./System.Numerics.Vectors.dll
./System.Diagnostics.PerformanceCounter.ni.r2rmap
./System.AppContext.dll
./ru/
./ru/Microsoft.CodeAnalysis.resources.dll
./ru/System.Web.Services.Description.resources.dll
./ru/Microsoft.CodeAnalysis.CSharp.resources.dll
./ru/System.Private.ServiceModel.resources.dll
./System.ServiceModel.Http.dll
./System.Runtime.Serialization.dll
./System.Web.Services.Description.dll
./System.Reflection.TypeExtensions.dll
./System.Globalization.Extensions.dll
./Newtonsoft.Json.ni.r2rmap
./System.Security.Cryptography.ProtectedData.ni.r2rmap
./System.Data.Odbc.ni.r2rmap
./NJsonSchema.dll
./System.Security.Cryptography.Encoding.dll
./System.Private.DataContractSerialization.dll
./System.Security.Cryptography.OpenSsl.dll
./ref/
./ref/System.Reflection.Metadata.dll
./ref/System.Net.Security.dll
./ref/System.IO.FileSystem.dll
./ref/System.Collections.NonGeneric.dll
./ref/System.Runtime.Serialization.Json.dll
./ref/System.Net.Http.dll
./ref/System.Diagnostics.Debug.dll
./ref/Microsoft.VisualBasic.dll
./ref/System.Runtime.Extensions.dll
./ref/System.Diagnostics.Tracing.dll
./ref/System.dll
./ref/System.Net.WebHeaderCollection.dll
./ref/System.Security.Cryptography.Primitives.dll
./ref/System.ServiceModel.Web.dll
./ref/System.Xml.XDocument.dll
./ref/System.Threading.Thread.dll
./ref/System.IO.FileSystem.Primitives.dll
./ref/System.Net.NetworkInformation.dll
./ref/System.Net.Ping.dll
./ref/System.Runtime.CompilerServices.VisualC.dll
./ref/System.Threading.dll
./ref/System.Net.Sockets.dll
./ref/System.ValueTuple.dll
./ref/System.Data.DataSetExtensions.dll
./ref/System.IO.Compression.ZipFile.dll
./ref/System.Net.ServicePoint.dll
./ref/System.IO.Compression.dll
./ref/System.Diagnostics.TraceSource.dll
./ref/System.Configuration.dll
./ref/System.Runtime.dll
./ref/System.Net.WebSockets.Client.dll
./ref/System.Memory.dll
./ref/System.Reflection.Emit.ILGeneration.dll
./ref/System.Security.Cryptography.Cng.dll
./ref/System.IO.FileSystem.DriveInfo.dll
./ref/System.Runtime.InteropServices.RuntimeInformation.dll
./ref/System.Security.Cryptography.Algorithms.dll
./ref/System.Runtime.Loader.dll
./ref/System.Net.NameResolution.dll
./ref/System.Text.RegularExpressions.dll
./ref/System.Core.dll
./ref/System.Net.dll
./ref/System.Windows.dll
./ref/System.Reflection.dll
./ref/System.Resources.Writer.dll
./ref/System.Collections.Specialized.dll
./ref/System.Threading.Tasks.Parallel.dll
./ref/System.Console.dll
./ref/System.ComponentModel.dll
./ref/System.Security.dll
./ref/System.Diagnostics.DiagnosticSource.dll
./ref/System.Security.Cryptography.Csp.dll
./ref/System.Security.Claims.dll
./ref/System.IO.UnmanagedMemoryStream.dll
./ref/System.Threading.ThreadPool.dll
./ref/System.Net.WebSockets.dll
./ref/System.Web.HttpUtility.dll
./ref/System.Xml.XmlSerializer.dll
./ref/System.IO.dll
./ref/System.Reflection.Extensions.dll
./ref/System.Web.dll
./ref/System.Diagnostics.FileVersionInfo.dll
./ref/System.Linq.Queryable.dll
./ref/System.Security.Principal.dll
./ref/System.Text.Encoding.dll
./ref/System.Threading.Timer.dll
./ref/System.Buffers.dll
./ref/System.ComponentModel.TypeConverter.dll
./ref/System.Reflection.Emit.Lightweight.dll
./ref/System.ServiceProcess.dll
./ref/mscorlib.dll
./ref/System.Resources.Reader.dll
./ref/System.Transactions.dll
./ref/System.Linq.Parallel.dll
./ref/System.IO.MemoryMappedFiles.dll
./ref/System.Net.Http.Json.dll
./ref/System.Data.Common.dll
./ref/System.Reflection.DispatchProxy.dll
./ref/System.Runtime.Serialization.Formatters.dll
./ref/System.Runtime.CompilerServices.Unsafe.dll
./ref/Microsoft.Win32.Registry.dll
./ref/System.Collections.Immutable.dll
./ref/System.Xml.dll
./ref/System.Diagnostics.Contracts.dll
./ref/System.Dynamic.Runtime.dll
./ref/System.Reflection.Emit.dll
./ref/System.IO.Compression.Brotli.dll
./ref/System.Numerics.Vectors.dll
./ref/System.AppContext.dll
./ref/System.Runtime.Serialization.dll
./ref/System.Reflection.TypeExtensions.dll
./ref/System.Globalization.Extensions.dll
./ref/System.Security.Cryptography.Encoding.dll
./ref/System.Security.Cryptography.OpenSsl.dll
./ref/System.Security.Principal.Windows.dll
./ref/System.Runtime.Serialization.Xml.dll
./ref/System.ComponentModel.Primitives.dll
./ref/Microsoft.VisualBasic.Core.dll
./ref/System.IO.Pipes.AccessControl.dll
./ref/System.Threading.Tasks.Extensions.dll
./ref/System.ComponentModel.Annotations.dll
./ref/System.Diagnostics.TextWriterTraceListener.dll
./ref/System.Reflection.Primitives.dll
./ref/System.Net.WebProxy.dll
./ref/System.Net.WebClient.dll
./ref/System.Xml.ReaderWriter.dll
./ref/System.Security.SecureString.dll
./ref/System.Net.HttpListener.dll
./ref/System.Threading.Overlapped.dll
./ref/System.IO.Compression.FileSystem.dll
./ref/System.Globalization.dll
./ref/System.Runtime.Handles.dll
./ref/System.Xml.XPath.XDocument.dll
./ref/System.Drawing.dll
./ref/System.Collections.dll
./ref/System.Resources.ResourceManager.dll
./ref/Microsoft.CSharp.dll
./ref/System.Text.Encoding.Extensions.dll
./ref/System.Security.AccessControl.dll
./ref/System.Runtime.Numerics.dll
./ref/System.IO.FileSystem.AccessControl.dll
./ref/System.Data.dll
./ref/System.IO.FileSystem.Watcher.dll
./ref/System.Collections.Concurrent.dll
./ref/System.Globalization.Calendars.dll
./ref/System.Xml.Linq.dll
./ref/System.Runtime.Intrinsics.dll
./ref/System.Runtime.Serialization.Primitives.dll
./ref/System.Runtime.InteropServices.dll
./ref/Microsoft.Win32.Primitives.dll
./ref/System.Transactions.Local.dll
./ref/System.Numerics.dll
./ref/System.IO.Pipes.dll
./ref/System.Text.Encoding.CodePages.dll
./ref/System.Security.Cryptography.X509Certificates.dll
./ref/System.Xml.XPath.dll
./ref/System.Net.Primitives.dll
./ref/System.IO.IsolatedStorage.dll
./ref/System.Drawing.Primitives.dll
./ref/System.Linq.dll
./ref/System.Diagnostics.Process.dll
./ref/System.Threading.Channels.dll
./ref/System.Net.Requests.dll
./ref/System.Linq.Expressions.dll
./ref/netstandard.dll
./ref/System.ComponentModel.EventBasedAsync.dll
./ref/System.Text.Json.dll
./ref/WindowsBase.dll
./ref/System.Xml.Serialization.dll
./ref/System.Formats.Asn1.dll
./ref/System.Threading.Tasks.dll
./ref/System.Diagnostics.Tools.dll
./ref/System.Diagnostics.StackTrace.dll
./ref/System.Threading.Tasks.Dataflow.dll
./ref/System.ComponentModel.DataAnnotations.dll
./ref/System.Text.Encodings.Web.dll
./ref/System.Net.Mail.dll
./ref/System.ObjectModel.dll
./ref/System.Xml.XmlDocument.dll
./System.Data.OleDb.dll
./System.Security.Principal.Windows.dll
./_manifest/
./_manifest/spdx_2.2/
./_manifest/spdx_2.2/manifest.spdx.json
./_manifest/spdx_2.2/manifest.spdx.json.sha256
./Microsoft.PowerShell.Security.ni.r2rmap
./System.Runtime.Serialization.Xml.dll
./System.ComponentModel.Primitives.dll
./libhostpolicy.so
./System.Net.Quic.dll
./System.Runtime.Caching.ni.r2rmap
./Microsoft.VisualBasic.Core.dll
./System.ServiceProcess.ServiceController.ni.r2rmap
./System.IO.Pipes.AccessControl.dll
./System.Threading.Tasks.Extensions.dll
./System.ComponentModel.Annotations.dll
./System.Diagnostics.TextWriterTraceListener.dll
./pwsh.deps.json
./System.Reflection.Primitives.dll
./System.DirectoryServices.AccountManagement.dll
./Microsoft.Extensions.ObjectPool.dll
./System.Net.WebProxy.dll
./System.Net.WebClient.dll
./Namotion.Reflection.ni.r2rmap
./System.Xml.ReaderWriter.dll
./System.Security.SecureString.dll
./System.Net.HttpListener.dll
./System.Threading.Overlapped.dll
./System.IO.Compression.FileSystem.dll
./System.DirectoryServices.dll
./System.Diagnostics.PerformanceCounter.dll
./System.Globalization.dll
./System.Private.Xml.Linq.dll
./System.Runtime.Handles.dll
./System.Xml.XPath.XDocument.dll
./Microsoft.PowerShell.Commands.Utility.ni.r2rmap
./cs/
./cs/Microsoft.CodeAnalysis.resources.dll
./cs/System.Web.Services.Description.resources.dll
./cs/Microsoft.CodeAnalysis.CSharp.resources.dll
./cs/System.Private.ServiceModel.resources.dll
./System.Drawing.dll
./System.Collections.dll
./System.Resources.ResourceManager.dll
./Microsoft.CSharp.dll
./System.Text.Encoding.Extensions.dll
./System.Security.AccessControl.dll
./System.Runtime.Numerics.dll
./System.IO.Packaging.dll
./System.IO.FileSystem.AccessControl.dll
./System.Data.dll
./System.IO.FileSystem.Watcher.dll
./System.ServiceModel.Syndication.ni.r2rmap
./Microsoft.PowerShell.ConsoleHost.ni.r2rmap
./System.Collections.Concurrent.dll
./System.Globalization.Calendars.dll
./System.Xml.Linq.dll
./System.Runtime.Intrinsics.dll
./ja/
./ja/Microsoft.CodeAnalysis.resources.dll
./ja/System.Web.Services.Description.resources.dll
./ja/Microsoft.CodeAnalysis.CSharp.resources.dll
./ja/System.Private.ServiceModel.resources.dll
./Microsoft.Management.Infrastructure.ni.r2rmap
./System.Runtime.Serialization.Primitives.dll
./System.Runtime.InteropServices.dll
./libmscordbi.so
./Microsoft.Win32.Primitives.dll
./System.Threading.AccessControl.dll
./System.Transactions.Local.dll
./Microsoft.PowerShell.Commands.Management.ni.r2rmap
./System.Windows.Extensions.dll
./System.Web.Services.Description.ni.r2rmap
./System.Numerics.dll
./System.Private.Xml.dll
./System.Management.dll
./System.IO.Packaging.ni.r2rmap
./libhostfxr.so
./System.IO.Pipes.dll
./Microsoft.Extensions.ObjectPool.ni.r2rmap
./System.Text.Encoding.CodePages.dll
./System.Data.SqlClient.dll
./System.Management.Automation.dll
./System.Security.Cryptography.X509Certificates.dll
./libSystem.Globalization.Native.so
./System.Configuration.ConfigurationManager.dll
./System.Xml.XPath.dll
./Microsoft.Bcl.AsyncInterfaces.dll
./System.Configuration.ConfigurationManager.ni.r2rmap
./libSystem.IO.Ports.Native.so
./System.ServiceModel.Primitives.dll
./ThirdPartyNotices.txt
./libdbgshim.so
./System.Net.Primitives.dll
./System.IO.Ports.ni.r2rmap
./System.IO.IsolatedStorage.dll
./System.Drawing.Primitives.dll
./System.ServiceModel.Syndication.dll
./System.Runtime.Caching.dll
./pwsh.dll
./System.Linq.dll
./System.Diagnostics.Process.dll
./System.Private.CoreLib.dll
./libSystem.Native.so
./Microsoft.CodeAnalysis.ni.r2rmap
./System.Threading.Channels.dll
./System.Net.Requests.dll
./System.Linq.Expressions.dll
./netstandard.dll
./Microsoft.CodeAnalysis.CSharp.dll
./System.ComponentModel.EventBasedAsync.dll
./System.Text.Json.dll
./System.Security.Cryptography.ProtectedData.dll
./System.Diagnostics.EventLog.ni.r2rmap
./WindowsBase.dll
./System.Private.Uri.dll
./System.Xml.Serialization.dll
./System.Threading.AccessControl.ni.r2rmap
./System.Formats.Asn1.dll
./System.Threading.Tasks.dll
./System.Diagnostics.Tools.dll
./System.ServiceProcess.ServiceController.dll
./de/
./de/Microsoft.CodeAnalysis.resources.dll
./de/System.Web.Services.Description.resources.dll
./de/Microsoft.CodeAnalysis.CSharp.resources.dll
./de/System.Private.ServiceModel.resources.dll
./System.Security.Cryptography.Xml.ni.r2rmap
./System.Security.Permissions.ni.r2rmap
./System.Diagnostics.StackTrace.dll
./Microsoft.CodeAnalysis.dll
./pwsh.xml
./System.Threading.Tasks.Dataflow.dll
./System.Windows.Extensions.ni.r2rmap
./System.ComponentModel.DataAnnotations.dll
./System.Text.Encodings.Web.dll
./System.Net.Mail.dll
./System.ObjectModel.dll
./System.Xml.XmlDocument.dll
./zh-Hant/
./zh-Hant/Microsoft.CodeAnalysis.resources.dll
./zh-Hant/System.Web.Services.Description.resources.dll
./zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll
./zh-Hant/System.Private.ServiceModel.resources.dll

    Directory: /usr/bin

UnixMode   User             Group                 LastWriteTime           Size
--------   ----             -----                 -------------           ----
lrwxrwxrwx root             root                1/17/2022 13:42             24

Failed to install Microsoft!
β—’β—£Need help? Copy the ENTIRE terminal output or take a screenshot.
Please ask on Github: https://github.com/Botspot/pi-apps/issues/new/choose
Or on Discord: https://discord.gg/RXSTvaUvuu
sha256sum: /home/pi/pi-apps/update/pi-apps/apps/Microsoft/install: No such file or directory
Crilum commented 2 years ago

Well, I know why it failed.. You put exit 1 at the end of the script.. This is going to make it fail no matter what...

Crilum commented 2 years ago

It works though:

$ pwsh
PowerShell 7.2.1
Copyright (c) Microsoft Corporation.

https://aka.ms/powershell
Type 'help' to get help.

PS /home/pi
theofficialgman commented 2 years ago

oh man... do we really want this though? next thing someone is going to ask for a microsoft edge install script

I'm joking, I know some people legitimately like MS Powershell

theofficialgman commented 2 years ago

this also looks like a good candidate to add to the Auto Apps updater consider looking at this commit for how to do that: https://github.com/Botspot/pi-apps/commit/24197cd85200236f617255e38af058579a8b2668#diff-a108fc0372d6748a112d0fe6b604d6bcf1046ff795514a6583f81ce174bc4377

or once this script is more finalized, open a PR for this app and it can be more easily added there

Crilum commented 2 years ago

@theofficialgman I'm actually making an updated version that has the version var.. My current script: Microsoft PowerShell.zip

Crilum commented 2 years ago

oh man... do we really want this though? next thing someone is going to ask for a microsoft edge install script

actually, maybe we could emulate it.. QEMU or something..

theofficialgman commented 2 years ago

@theofficialgman I'm actually making an updated version that has the version var.. My current script: Microsoft PowerShell.zip

you still have multiple issues.

you still hardcode 7.2.1 in the tar extract arm32 is used no matter what even though this is an install script and the repo has an arm64 tar.gz:

 powershell-7.2.1-linux-arm32.tar.gz
 powershell-7.2.1-linux-arm64.tar.gz

desktop entry should also use the version variable to popular its contents

libssl1.0.2 should not be used (as shown below)

so all the fixes:

 #!/bin/bash

version=7.2.1

rm -rf "$HOME/powershell"
install_packages libssl1.1 libunwind8 || exit 1
wget https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-linux-arm${arch}.tar.gz || error "Unable to download Powershell from website!"
mkdir ~/powershell || error "Unable to create Powershell Directory!"
tar -xvf ./powershell-${version}-linux-arm${arch}.tar.gz -C ~/powershell || error "Unable to extract / copy Powershell to directory!"
status 'Creating symlink...'
sudo ~/powershell/pwsh -command 'New-Item -ItemType SymbolicLink -Path "/usr/bin/pwsh" -Target "$PSHOME/pwsh" -Force' || error "Unable to link Powershell to pwsh command!"
status_green 'Done!'
touch $HOME/.local/share/applications/powershell.desktop
echo "[Desktop Entry]
Version=${version}
Name=Microsoft Powershell
GenericName=shell
Exec=pwsh %U
Terminal=false
X-MultipleArgs=false
Type=Application
Icon='/home/pi/pi-apps/apps/Microsoft Powershell/icon-64.png'
Categories=Utilities; Development;
StartupNotify=true" >> $HOME/.local/share/applications/powershell.desktop || error 'Failed to make Desktop entry!'

then you just need to make the appropriate script in the .github/workflows/updates/ folder for auto updates

theofficialgman commented 2 years ago

also what is libssl1.0.2? I don't see that package name anywhere in debian/ubuntu buster/bionic+ and I highly doubt powershell needs that in particular. libssl1.0.2 only officially existed in debian stretch and keeps getting pulled into raspbian buster/bullseye. it won't be available in 64bit buster/bullseye (since those don't use raspbian) just install libssl1.1 as thats the package name thats been supported forever

yes, I confirmed, libssl1.0.2 is not necessary

Crilum commented 2 years ago

@theofficialgman I'm actually making an updated version that has the version var.. My current script: Microsoft PowerShell.zip

you still have multiple issues.

you still hardcode 7.2.1 in the tar extract arm32 is used no matter what even though this is an install script and the repo has an arm64 tar.gz:

 powershell-7.2.1-linux-arm32.tar.gz
 powershell-7.2.1-linux-arm64.tar.gz

desktop entry should also use the version variable to popular its contents

libssl1.0.2 should not be used (as shown below)

so all the fixes:

#!/bin/bash

version=7.2.1

rm -rf "$HOME/powershell"
install_packages libssl1.1 libunwind8 || exit 1
wget https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-linux-arm${arch}.tar.gz || error "Unable to download Powershell from website!"
mkdir ~/powershell || error "Unable to create Powershell Directory!"
tar -xvf ./powershell-${version}-linux-arm${arch}.tar.gz -C ~/powershell || error "Unable to extract / copy Powershell to directory!"
status 'Creating symlink...'
sudo ~/powershell/pwsh -command 'New-Item -ItemType SymbolicLink -Path "/usr/bin/pwsh" -Target "$PSHOME/pwsh" -Force' || error "Unable to link Powershell to pwsh command!"
status_green 'Done!'
touch $HOME/.local/share/applications/powershell.desktop
echo "[Desktop Entry]
Version=${version}
Name=Microsoft Powershell
GenericName=shell
Exec=pwsh %U
Terminal=false
X-MultipleArgs=false
Type=Application
Icon='/home/pi/pi-apps/apps/Microsoft Powershell/icon-64.png'
Categories=Utilities; Development;
StartupNotify=true" >> $HOME/.local/share/applications/powershell.desktop || error 'Failed to make Desktop entry!'

then you just need to make the appropriate script in the .github/workflows/updates/ folder for auto updates

Thanks. Microsoft PowerShell.zip

cycool29 commented 2 years ago

In tar -xvf ./powershell-${version}-linux-arm${arch}.tar.gz -C ~/powershell || error "Unable to extract / copy Powershell to directory!", I don't think we need verbose output.

cycool29 commented 2 years ago

Microsoft PowerShell.zip

SebAndBlocks commented 2 years ago

Sorry, I'm new to app Development. I also did not realise that there were arm32 + arm64 scripts as I copied the code from Microsoft's Website.

SebAndBlocks commented 2 years ago

On My System it shows up as Microsoft Powershell and not just Microsoft. Thanks to Botspot for Removing the Junk Text / Shell Output

theofficialgman commented 2 years ago

somebody make a PR with these changes at this point, using that latest zip. should be easier to comment on it then. I think everyone is happy with this addition in general

rbcoder117 commented 2 years ago

somebody make a PR with these changes at this point, using that latest zip. should be easier to comment on it then. I think everyone is happy with this addition in general

I just did

Botspot commented 2 years ago

oh man... do we really want this though? next thing someone is going to ask for a microsoft edge install script

actually, maybe we could emulate it.. QEMU or something..

I think enough people would be interested in trying Edge on RPi that it's worthwhile to look into.